Markus Ongyerth
c88990d2c2
fix the keybind handling in rootston.
...
As mentioned in https://github.com/swaywm/wlroots/issues/393 keybinds
did't trigger / were checked with "odd" keys and modifiers.
This commit sends the keycode through two paths, one to get the keycode
and modifiers *after* xkb handles them, a secondary path to get a "raw"
keysym without modifiers and then add the modifiers rootston knows
about.
This will result in the `[Alt]+[Shift]+2` combination I mention earlier
going through the keybind detection twice.
1) `[Alt]+[at]`
2) `[Alt]+[Shift]+2`
When either combination is found, the appropriate keybind is executed.
The xkb handled version will be prefered over the "raw" version.
2017-11-07 12:48:44 +01:00
Tony Crisci
e5b49158b4
rootston: end grab on escape
2017-10-31 08:38:21 -04:00
Tony Crisci
a224e74fad
refactor input time_sec to time_msec
2017-10-30 06:40:06 -04:00
Tony Crisci
c01248cf17
Merge branch 'master' into feature/xwm-rewrite
2017-10-29 10:43:10 -04:00
Drew DeVault
4281aefbf8
Merge pull request #324 from acrisci/feature/keyboard-redesign
...
wlr-seat: keyboard redesign
2017-10-28 10:56:41 -04:00
Tony Crisci
c555a66dda
Merge branch 'master' into feature/xwm-rewrite
2017-10-27 15:22:00 -04:00
emersion
315c01ba0f
Remove input.last_active_view
2017-10-27 19:21:26 +02:00
emersion
c0c4816b13
Fix fallback when there are two config blocks for a keyboard
2017-10-26 22:38:03 +02:00
emersion
4e5d23daa9
Per-keyboard configuration
2017-10-26 19:59:32 +02:00
Tony Crisci
7914f4bda9
xwm: dont focus override redirect windows
2017-10-25 20:40:55 -04:00
Tony Crisci
d33a9f8eaa
wlr-seat: keyboard redesign
2017-10-24 07:18:11 -04:00
emersion
f2c4b80620
Remove calls to assert to check runtime errors in rootston
2017-10-21 13:25:39 +02:00
emersion
c8570d0e42
Remove wl_list_init when using wl_signal_add
2017-10-21 12:35:51 +02:00
Versus Void
db3368ba43
New binding to switch windows
2017-10-12 22:21:35 +00:00
emersion
972e9dbd1b
Add close command, add close for xwayland
2017-10-06 16:03:35 +02:00
emersion
8ff548cdba
Require exec prefix to execute shell commands
2017-10-06 16:02:40 +02:00
emersion
d3d9aca40c
Add modifiers support in wayland backend, parse modifiers in rootston config
2017-10-03 08:46:11 +02:00
emersion
eb0b315c6c
exec command if it's not exit
2017-10-03 08:46:10 +02:00
emersion
238ded1578
Use a command string rather than an action enum
2017-10-03 08:46:10 +02:00
emersion
97d0fe8976
Parse bindings in config, execute bindings
2017-10-03 08:46:10 +02:00
emersion
d32018f1ac
Use keysyms instead of keycodes
2017-10-03 08:46:10 +02:00
emersion
ab6c1f88e6
Add keyboard state to rootston
2017-10-03 08:46:09 +02:00
Drew DeVault
aa8a4f12b7
Fix keyboard handling in examples
2017-10-01 11:35:22 -04:00
Drew DeVault
10240af6ea
Handle input device removal
2017-09-28 19:05:38 -04:00
Drew DeVault
906a816abf
Fix rootston keyboard, add Xwayland
2017-09-28 08:54:57 -04:00
Drew DeVault
b84d59403f
Initial keyboard support in rootston
2017-09-23 18:32:03 -04:00