Commit Graph

142 Commits

Author SHA1 Message Date
451777b130 Implement inital xdg popup handling 2020-04-27 15:19:16 +02:00
c1b885dd64 Clean up some code using c imported enums 2020-04-27 11:21:49 +02:00
9b1197feb3 Fix application of exclusive zones
Fixes https://github.com/ifreund/river/issues/13
2020-04-27 11:11:37 +02:00
2b0b32c030 Simplify some code 2020-04-27 10:35:53 +02:00
c5826b04f4 Properly set initial usable box of outputs 2020-04-26 18:15:53 +02:00
550bd493cd Greatly simplify view offset handling
Fixes https://github.com/ifreund/river/issues/9
2020-04-26 16:49:50 +02:00
21c3969c5f Fix view stack tests 2020-04-26 12:37:35 +02:00
454e2454b6 Separate View from its implementation
This is done in preperation for Xwayland support
2020-04-26 12:29:08 +02:00
609eeae6f4 Support wlr-screencopy
Closes https://github.com/ifreund/river/issues/7
2020-04-26 11:08:56 +02:00
f133d0b391 Revert "Deduplicate some state"
I changed my mind, it's cleaner to keep things like this and will be
consistent with views.
2020-04-26 01:59:54 +02:00
5baa9f58e7 Deduplicate some state 2020-04-25 23:28:26 +02:00
96c20f26fc Handle set selection for clipboard support 2020-04-25 01:04:12 +02:00
1829ca46b4 Fix pointer focus of top/overlay layers 2020-04-24 15:48:52 +02:00
822976e3a5 Start to handle layer surfaces in cursor code 2020-04-24 14:51:10 +02:00
56400a5955 Fix crash on non-toplevel views 2020-04-23 17:27:18 +02:00
53ec8f74c3 Fix crash if floating view doesn't fit 2020-04-22 23:42:07 +02:00
d6d30a7ab3 Add a filter to start views in floating mode 2020-04-22 23:35:16 +02:00
1362061c4c Implement floating views 2020-04-22 22:51:18 +02:00
94760394b4 Bikeshed variable names 2020-04-21 16:29:17 +02:00
109a744007 Fix uninitialized values in tests 2020-04-21 14:44:26 +02:00
adc4e12971 Zoom to second view in stack if top is focused 2020-04-20 14:40:58 +02:00
f0c4faf10b Cleanup timespec types 2020-04-20 00:24:21 +02:00
472e2b2624 Fix layer sufaces holding focus after unmap 2020-04-19 15:15:50 +02:00
a0c30de132 Clear focus if focused layer surface is unmapped 2020-04-19 14:33:54 +02:00
c959a426b7 Implement wlr-input-inhibitor 2020-04-19 14:31:41 +02:00
cd9d4ee395 Grab seats focused on the output for layer shell 2020-04-19 14:31:40 +02:00
5244618b01 Implement keyboard interactivity for layer shell 2020-04-19 14:31:40 +02:00
837513d329 Remove uneeded abstraction 2020-04-18 17:07:57 +02:00
fb2639a226 Send surface enter/leave events 2020-04-18 16:21:26 +02:00
bf300db004 Arrange on sending view to output 2020-04-18 15:36:29 +02:00
8fcca81755 Add binds to move views between outputs 2020-04-18 14:53:21 +02:00
64a3b72a1c Split up commands into separate files 2020-04-18 13:41:04 +02:00
e0c6b5bf72 Refactor focus next/prev view/output commands 2020-04-18 13:12:15 +02:00
6914f32ce3 Remove dead code 2020-04-18 12:22:25 +02:00
cd19a4615b Properly clean up resources on exit 2020-04-18 12:21:43 +02:00
ed7aca261b Only log transactions if actually started 2020-04-17 19:37:50 +02:00
0557d9df9d Close layer surfaces on output destroy 2020-04-17 19:31:38 +02:00
fb1414a052 Clean up listener handling for layer surfaces 2020-04-17 16:00:05 +02:00
76fedd7450 Fix focus handling of newly mapped Views 2020-04-17 13:22:35 +02:00
5607163b20 Clean up listener handling for Views 2020-04-17 13:18:25 +02:00
0976243372 Handle destruction of outputs 2020-04-17 13:02:18 +02:00
414a076410 Fix focus handling on output cycle 2020-04-15 20:02:55 +02:00
8a326541f6 Add keybinds to cycle between outputs 2020-04-15 19:16:55 +02:00
f33b1fa3e8 Properly handle coordinates with multiple outputs 2020-04-15 18:26:02 +02:00
2283ee78b5 Track the focused output of seats 2020-04-15 17:59:46 +02:00
a6eeb5bbba Clean up layer arrangement 2020-04-15 14:39:43 +02:00
652a347fa0 Handle exclusive zone of -1 properly 2020-04-15 14:35:05 +02:00
5bbfcab60e Improve handling of layer surface output assignment 2020-04-15 13:38:36 +02:00
b02f660475 Rename render.[hc] to bindings.[hc] 2020-04-15 12:49:19 +02:00
2126ef07f8 Get rid of redundant create output global call. 2020-04-15 12:30:27 +02:00