Commit Graph

56 Commits

Author SHA1 Message Date
Tony Crisci b6f29e87e8 dont use pointer for modifiers 2018-01-17 08:31:15 -05:00
Tony Crisci 43896af90f Merge branch 'master' into modifier-fixes 2018-01-17 08:27:47 -05:00
emersion e56b82e896
rootston: add toggle_outputs command 2018-01-07 00:37:36 +01:00
Tony Crisci 0ef2df21f2 compositor modifier hook 2018-01-05 07:00:50 -05:00
Tony Crisci ebf27f2027 add nop command 2017-12-26 08:41:58 -05:00
Tony Crisci c838679393 fix memory leaks 2017-12-18 14:53:24 -05:00
emersion 2c31cac116
Do not segfault when loading an unknown keymap 2017-12-18 15:11:05 +01:00
emersion a3c0f97810
Make keyboard repeat info configurable 2017-12-08 17:03:05 +01:00
Tony Crisci 5d7eb438d9
Merge pull request #437 from emersion/fullscreen
Fullscreen support
2017-11-30 03:25:05 -05:00
Tony Crisci 903ba1c9b3 rootston: maximize command 2017-11-22 15:33:17 -05:00
emersion 9a6f799d8f
Add fullscreen command, fix view_at with fullscreen views 2017-11-21 10:37:53 +01:00
emersion 97ddd2d1df
Add roots_seat_cycle_focus 2017-11-19 19:21:18 +01:00
emersion bf41e7a794
Make the close command use roots_seat_get_focus, rename a few symbols 2017-11-19 19:14:31 +01:00
emersion bb6d34e7a5
rootston: add per-seat views 2017-11-17 12:45:07 +01:00
emersion a52ca9482a
Various keyboard fixes
* Ensure keysyms state is always updated
* Check if pressed keysyms are exactly the binding keysyms
* Do not include modifiers in list of keysyms, these are special cases
2017-11-16 18:58:33 +01:00
emersion 53d4cb47ff
Refactor rootston keyboard 2017-11-16 16:13:23 +01:00
emersion bb79ada49f
Fix a bunch of mistakes detected with scan-build 2017-11-16 10:30:54 +01:00
Tony Crisci 1db3b55128 rootston: prefix config structs and functions 2017-11-11 10:59:04 -05:00
Tony Crisci 1472dbda74 rootston: roots_keyboard null check 2017-11-09 18:32:54 -05:00
Tony Crisci d6513cef5d rootston: add missing properties to kb config merge 2017-11-09 17:47:59 -05:00
Tony Crisci 739361aa70 wlr-keyboard: take out modifiers event struct (for now) 2017-11-09 17:29:28 -05:00
Tony Crisci 79f5bd6ef8 Merge branch 'master' into feature/multiseat 2017-11-08 20:21:59 -05:00
emersion 882e620639
Always read state from wlr_keyboard in the seat 2017-11-08 19:02:56 +01:00
Tony Crisci a00b7f1e9b rootston: remove devices from seat 2017-11-08 09:04:33 -05:00
Tony Crisci 09c6092423 multiseat: somewhat working 2017-11-07 15:56:11 -05:00
Markus Ongyerth 23991861a4 works in review comments 2017-11-07 16:50:34 +01:00
Markus Ongyerth 8ca76ff7f2 explains 2 way keybind trying. 2017-11-07 12:55:19 +01:00
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 5354fe8729 move keyboard to seat 2017-11-04 09:23:57 -04:00
Tony Crisci 9bd0f47efd rootston: refactor keyboard 2017-11-03 06:21:24 -04:00
Tony Crisci 53021f8ed4 rootston: break up input.h 2017-11-02 20:31:19 -04: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