diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-09-05 22:39:09 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-09-05 22:39:09 +0200 |
commit | fd7f78f2c7dbb033ec62d2c0725f492fcffc6421 (patch) | |
tree | a83cef43f8c728e59612685fa5d83b97e37849b8 | |
parent | 001b0152a4fa6ebd937612bce9bfd6cba7ce7c0a (diff) | |
download | st-fd7f78f2c7dbb033ec62d2c0725f492fcffc6421.tar.gz st-fd7f78f2c7dbb033ec62d2c0725f492fcffc6421.tar.bz2 |
Removing masks for unhandled enter and leaving events.
-rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |