mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 11:20:46 -04:00
Some WMs (for example fvwm and fluxbox) intermittently steal focus during attempts to drag something with the mouse on the remote machine, effectively making it impossible to drag. This behavior seems to also depend on the configuration of the WM. Add an optional patch to work around this problem, activated by the new option BROKENFOCUS. Note that this workaround may lead to a wrong state of keyboard modifiers after focus changes, so only enable if if you really need to. PR: 254908 Approved by: VVD <vvd@unislabs.com> (maintainer)
10 lines
303 B
Diff
10 lines
303 B
Diff
--- client/X11/xf_keyboard.c.orig 2021-09-02 06:23:36 UTC
|
|
+++ client/X11/xf_keyboard.c
|
|
@@ -183,7 +183,6 @@ void xf_keyboard_release_all_keypress(xfContext* xfc)
|
|
xfc->KeyboardState[keycode] = FALSE;
|
|
}
|
|
}
|
|
- xf_sync_kbd_state(xfc);
|
|
}
|
|
|
|
BOOL xf_keyboard_key_pressed(xfContext* xfc, KeySym keysym)
|