X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=st.c;h=165d930461379282b1d8719dcffc4e3aca9252dc;hb=86cf8e3073aa5c51f7ea8ea9a9ca5f13dde829c3;hp=a2f4f46cf8efa442e20a0cf67186974083513428;hpb=dd0b7a077f5184c0eac99955aeb91f3c6a0d9c11;p=st.git 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