diff options
author | Michael Jennings <mej@kainx.org> | 2001-05-24 07:17:03 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2001-05-24 07:17:03 +0000 |
commit | d6cf1648376e616941d7f15875be0f48e2da0f6e (patch) | |
tree | 8537932fec00aa6ad2436fdb0b4bbbb20e123fca /src/windows.c | |
parent | bd1ed42760df07eaec4d99188fb05e3e5e41f7b2 (diff) | |
download | eterm-d6cf1648376e616941d7f15875be0f48e2da0f6e.tar.gz |
Thu May 24 00:14:54 PDT 2001 Michael Jennings <mej@eterm.org>
Finally got the selection stuff cleaned up. Hopefully this will be
the last time I have to deal with it for awhile. While I was at it,
I implemented incremental selection transfers. Unfortunately, it
doesn't seem like too many people support it. kedit doesn't, and it's
broken in Emacs (*grumble*). Works in gvim though.
SVN revision: 4784
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windows.c b/src/windows.c index 14cb8d5..833c9c4 100644 --- a/src/windows.c +++ b/src/windows.c @@ -428,13 +428,13 @@ Create_Windows(int argc, char *argv[]) XClearWindow(Xdisplay, TermWin.vt); } XDefineCursor(Xdisplay, TermWin.vt, TermWin_cursor); - XSelectInput(Xdisplay, TermWin.vt, (EnterWindowMask | LeaveWindowMask | ExposureMask | ButtonPressMask | ButtonReleaseMask | Button1MotionMask | Button3MotionMask)); + TermWin.mask = (EnterWindowMask | LeaveWindowMask | ExposureMask | ButtonPressMask | ButtonReleaseMask | Button1MotionMask | Button3MotionMask); + XSelectInput(Xdisplay, TermWin.vt, TermWin.mask); /* If the user wants a specific desktop, tell the WM that */ if (rs_desktop != -1) { - prop = XInternAtom(Xdisplay, "_WIN_WORKSPACE", False); val = rs_desktop; - XChangeProperty(Xdisplay, TermWin.parent, prop, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &val, 1); + XChangeProperty(Xdisplay, TermWin.parent, props[PROP_DESKTOP], XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &val, 1); } /* We're done creating our windows. Now let's initialize the event subsystem to handle them. */ |