Commit Graph

475 Commits

Author SHA1 Message Date
Isaac Freund
ce05dddea3 Fix ensure pixman located
Zig was having trouble finding the proper headers on void, likely
because pixman is linked as pixman-1.
2020-05-02 16:04:14 +02:00
Isaac Freund
48f51bbeb6 Handle unmap on never-mapped layer surface
I don't think wlroots should be sending this, but we shouldn't crash
either.

Fixes https://github.com/ifreund/river/issues/19
2020-05-02 15:51:16 +02:00
Isaac Freund
490e79eed4 Improve naming consistency 2020-04-28 19:19:58 +02:00
Isaac Freund
d962e6a9a5 Workaround global anonymous field name counter
Fixes https://github.com/ifreund/river/issues/17
2020-04-28 19:16:01 +02:00
Isaac Freund
7988a2e934 Fix a couple typos 2020-04-27 20:08:57 +02:00
Isaac Freund
ce8d8a7825 Arrange layers on layer surface destroy
Fixes https://github.com/ifreund/river/issues/15
2020-04-27 20:00:05 +02:00
Isaac Freund
460fb6da19 Float child and fixed-size toplevels by default
Closes https://github.com/ifreund/river/issues/14
2020-04-27 16:25:49 +02:00
Isaac Freund
451777b130 Implement inital xdg popup handling 2020-04-27 15:19:16 +02:00
Isaac Freund
c1b885dd64 Clean up some code using c imported enums 2020-04-27 11:21:49 +02:00
Isaac Freund
9b1197feb3 Fix application of exclusive zones
Fixes https://github.com/ifreund/river/issues/13
2020-04-27 11:11:37 +02:00
Isaac Freund
2b0b32c030 Simplify some code 2020-04-27 10:35:53 +02:00
Isaac Freund
809b2eeee1 Flesh out readme and fix typo 2020-04-26 19:06:11 +02:00
Isaac Freund
c5826b04f4 Properly set initial usable box of outputs 2020-04-26 18:15:53 +02:00
Isaac Freund
550bd493cd Greatly simplify view offset handling
Fixes https://github.com/ifreund/river/issues/9
2020-04-26 16:49:50 +02:00
Isaac Freund
21c3969c5f Fix view stack tests 2020-04-26 12:37:35 +02:00
Isaac Freund
454e2454b6 Separate View from its implementation
This is done in preperation for Xwayland support
2020-04-26 12:29:08 +02:00
Isaac Freund
609eeae6f4 Support wlr-screencopy
Closes https://github.com/ifreund/river/issues/7
2020-04-26 11:08:56 +02:00
Isaac Freund
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
Isaac Freund
5baa9f58e7 Deduplicate some state 2020-04-25 23:28:26 +02:00
Isaac Freund
96c20f26fc Handle set selection for clipboard support 2020-04-25 01:04:12 +02:00
Isaac Freund
1829ca46b4 Fix pointer focus of top/overlay layers 2020-04-24 15:48:52 +02:00
Isaac Freund
822976e3a5 Start to handle layer surfaces in cursor code 2020-04-24 14:51:10 +02:00
Isaac Freund
56400a5955 Fix crash on non-toplevel views 2020-04-23 17:27:18 +02:00
Isaac Freund
0452f9ec23 Add editorconfig 2020-04-23 15:52:38 +02:00
Isaac Freund
53ec8f74c3 Fix crash if floating view doesn't fit 2020-04-22 23:42:07 +02:00
Isaac Freund
d6d30a7ab3 Add a filter to start views in floating mode 2020-04-22 23:35:16 +02:00
Isaac Freund
1362061c4c Implement floating views 2020-04-22 22:51:18 +02:00
Isaac Freund
94760394b4 Bikeshed variable names 2020-04-21 16:29:17 +02:00
Isaac Freund
109a744007 Fix uninitialized values in tests 2020-04-21 14:44:26 +02:00
Isaac Freund
440279cb4b Add AUR link to readme 2020-04-21 14:09:05 +02:00
Isaac Freund
adc4e12971 Zoom to second view in stack if top is focused 2020-04-20 14:40:58 +02:00
Isaac Freund
f0c4faf10b Cleanup timespec types 2020-04-20 00:24:21 +02:00
Isaac Freund
1fe00bc38f Add Archlinux CI 2020-04-20 00:20:52 +02:00
Isaac Freund
425faff04e Mention contributing.md in readme 2020-04-19 17:25:27 +02:00
Isaac Freund
54c75d953e Fix a typo in contributing.md 2020-04-19 16:03:42 +02:00
Isaac Freund
6be97c3f3a Fix broken matrix link in readme 2020-04-19 15:58:46 +02:00
Isaac Freund
0b8183017a Add contributing.md 2020-04-19 15:58:11 +02:00
Isaac Freund
472e2b2624 Fix layer sufaces holding focus after unmap 2020-04-19 15:15:50 +02:00
Isaac Freund
a0c30de132 Clear focus if focused layer surface is unmapped 2020-04-19 14:33:54 +02:00
Isaac Freund
c959a426b7 Implement wlr-input-inhibitor 2020-04-19 14:31:41 +02:00
Isaac Freund
cd9d4ee395 Grab seats focused on the output for layer shell 2020-04-19 14:31:40 +02:00
Isaac Freund
5244618b01 Implement keyboard interactivity for layer shell 2020-04-19 14:31:40 +02:00
Isaac Freund
837513d329 Remove uneeded abstraction 2020-04-18 17:07:57 +02:00
Isaac Freund
fb2639a226 Send surface enter/leave events 2020-04-18 16:21:26 +02:00
Isaac Freund
bf300db004 Arrange on sending view to output 2020-04-18 15:36:29 +02:00
Isaac Freund
8fcca81755 Add binds to move views between outputs 2020-04-18 14:53:21 +02:00
Isaac Freund
64a3b72a1c Split up commands into separate files 2020-04-18 13:41:04 +02:00
Isaac Freund
e0c6b5bf72 Refactor focus next/prev view/output commands 2020-04-18 13:12:15 +02:00
Isaac Freund
6914f32ce3 Remove dead code 2020-04-18 12:22:25 +02:00
Isaac Freund
cd19a4615b Properly clean up resources on exit 2020-04-18 12:21:43 +02:00