aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-05 22:39:09 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-05 22:39:09 +0200
commit4a4ae19158a6d18d63b8e9fce92e6e5e45543746 (patch)
treea83cef43f8c728e59612685fa5d83b97e37849b8 /st.c
parentdd0b7a077f5184c0eac99955aeb91f3c6a0d9c11 (diff)
downloadst-4a4ae19158a6d18d63b8e9fce92e6e5e45543746.tar.gz
st-4a4ae19158a6d18d63b8e9fce92e6e5e45543746.tar.bz2
st-4a4ae19158a6d18d63b8e9fce92e6e5e45543746.zip
Removing masks for unhandled enter and leaving events.
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/st.c b/st.c
index a2f4f46..165d930 100644
--- a/st.c
+++ b/st.c
@@ -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);
@@ -2047,7 +2046,6 @@ void
xcopy() {
XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
XdbeSwapBuffers(xw.dpy, swpinfo, 1);
-
}
void