[hackers] [st] Removing masks for unhandled enter and leaving events. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Wed, 5 Sep 2012 22:40:55 +0200 (CEST)

changeset: 286:ad862568ed3e
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 05 22:39:09 2012 +0200
files: st.c
description:
Removing masks for unhandled enter and leaving events.


diff -r 363bc885e96d -r ad862568ed3e st.c
--- a/st.c Wed Sep 05 22:17:42 2012 +0200
+++ b/st.c Wed Sep 05 22:39:09 2012 +0200
_AT_@ -1960,8 +1960,7 @@
         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);
_AT_@ -2047,7 +2046,6 @@
 xcopy() {
         XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
         XdbeSwapBuffers(xw.dpy, swpinfo, 1);
-
 }
 
 void
Received on Wed Sep 05 2012 - 22:40:55 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 05 2012 - 22:48:06 CEST