~petersanchez/st

4a4ae19158a6d18d63b8e9fce92e6e5e45543746 — Christoph Lohmann 11 years ago dd0b7a0
Removing masks for unhandled enter and leaving events.
1 files changed, 1 insertions(+), 3 deletions(-)

M st.c
M st.c => st.c +1 -3
@@ 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