tRemoving masks for unhandled enter and leaving events. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4a4ae19158a6d18d63b8e9fce92e6e5e45543746
(DIR) parent dd0b7a077f5184c0eac99955aeb91f3c6a0d9c11
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 5 Sep 2012 22:39:09 +0200
Removing masks for unhandled enter and leaving events.
Diffstat:
M st.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
t@@ -1960,8 +1960,7 @@ xinit(void) {
attrs.bit_gravity = NorthWestGravity;
attrs.event_mask = FocusChangeMask | KeyPressMask
| ExposureMask | VisibilityChangeMask | StructureNotifyMask
- | ButtonMotionMask | ButtonPressMask | ButtonReleaseMask
- | EnterWindowMask | LeaveWindowMask;
+ | ButtonMotionMask | ButtonPressMask | ButtonReleaseMask;
attrs.colormap = xw.cmap;
parent = opt_embed ? strtol(opt_embed, NULL, 0) : XRootWindow(xw.dpy, xw.scr);
t@@ -2047,7 +2046,6 @@ void
xcopy() {
XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
XdbeSwapBuffers(xw.dpy, swpinfo, 1);
-
}
void