Removing masks for unhandled enter and leaving events.
This commit is contained in:
		
							
								
								
									
										4
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								st.c
									
									
									
									
									
								
							@ -1960,8 +1960,7 @@ xinit(void) {
 | 
				
			|||||||
	attrs.bit_gravity = NorthWestGravity;
 | 
						attrs.bit_gravity = NorthWestGravity;
 | 
				
			||||||
	attrs.event_mask = FocusChangeMask | KeyPressMask
 | 
						attrs.event_mask = FocusChangeMask | KeyPressMask
 | 
				
			||||||
		| ExposureMask | VisibilityChangeMask | StructureNotifyMask
 | 
							| ExposureMask | VisibilityChangeMask | StructureNotifyMask
 | 
				
			||||||
		| ButtonMotionMask | ButtonPressMask | ButtonReleaseMask
 | 
							| ButtonMotionMask | ButtonPressMask | ButtonReleaseMask;
 | 
				
			||||||
		| EnterWindowMask | LeaveWindowMask;
 | 
					 | 
				
			||||||
	attrs.colormap = xw.cmap;
 | 
						attrs.colormap = xw.cmap;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	parent = opt_embed ? strtol(opt_embed, NULL, 0) : XRootWindow(xw.dpy, xw.scr);
 | 
						parent = opt_embed ? strtol(opt_embed, NULL, 0) : XRootWindow(xw.dpy, xw.scr);
 | 
				
			||||||
@ -2047,7 +2046,6 @@ void
 | 
				
			|||||||
xcopy() {
 | 
					xcopy() {
 | 
				
			||||||
	XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
 | 
						XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}};
 | 
				
			||||||
	XdbeSwapBuffers(xw.dpy, swpinfo, 1);
 | 
						XdbeSwapBuffers(xw.dpy, swpinfo, 1);
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user