Maus-Fokus Problem bei Websites behoben
This commit is contained in:
2
window.c
2
window.c
@@ -103,6 +103,8 @@ int window_send_clientmessage(Window target, Window subject, Atom atom, unsigned
|
||||
void window_listen(Window win)
|
||||
{
|
||||
XSelectInput(display, win, EnterWindowMask | LeaveWindowMask | FocusChangeMask | PropertyChangeMask);
|
||||
XGrabButton(display, Button1, AnyModifier, win, True, ButtonPressMask, GrabModeSync, GrabModeSync, None, None);
|
||||
XGrabButton(display, Button3, AnyModifier, win, True, ButtonPressMask, GrabModeSync, GrabModeSync, None, None);
|
||||
}
|
||||
|
||||
// build windows cache
|
||||
|
||||
Reference in New Issue
Block a user