X11: handling of keyboard mouse emulation + mouse panning
This commit is contained in:
@@ -148,7 +148,8 @@ void GFX2_Set_mode(int *width, int *height, int fullscreen)
|
||||
}
|
||||
|
||||
XSelectInput(X11_display, X11_window,
|
||||
PointerMotionMask | ButtonPressMask | ButtonReleaseMask | KeyPressMask | ExposureMask | StructureNotifyMask);
|
||||
PointerMotionMask | ButtonPressMask | ButtonReleaseMask
|
||||
| KeyPressMask | KeyReleaseMask | ExposureMask | StructureNotifyMask);
|
||||
|
||||
wmDelete = XInternAtom(X11_display, "WM_DELETE_WINDOW", True);
|
||||
XSetWMProtocols(X11_display, X11_window, &wmDelete, 1);
|
||||
|
||||
Reference in New Issue
Block a user