Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dd0b7a0
)
Removing masks for unhandled enter and leaving events.
author
Christoph Lohmann <
[email protected]
>
Wed, 5 Sep 2012 20:39:09 +0000
(22:39 +0200)
committer
Christoph Lohmann <
[email protected]
>
Wed, 5 Sep 2012 20:39:09 +0000
(22:39 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
a2f4f46
..
165d930
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1960,8
+1960,7
@@
xinit(void) {
attrs.bit_gravity = NorthWestGravity;
attrs.event_mask = FocusChangeMask | KeyPressMask
| ExposureMask | VisibilityChangeMask | StructureNotifyMask
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);
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);
xcopy() {
XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
XdbeSwapBuffers(xw.dpy, swpinfo, 1);
-
}
void
}
void