Commit graph

13 commits

Author SHA1 Message Date
Uks2
69507ee640 Add wlr_output_manager support
This allows things like wlr-randr to work.

wlr-randr or similar can send in two new events: `output_manager_apply'
and `output_manager_test'.  In output.c, their handler both call an new
`output_manager_configure' function which loops through the list of
outputs twice.  The first loop applies all the requested configuration
ad checks that its not all messed up.  The second loop either commits
that configuration or reverts it depending on whether it worked and
whether we're responding to a test event.

There's also now an output_manager_update function, called whenever the
output layout is changed, which copies changes from the
wlr_output_layout to the wlr_output_manager.
2022-07-30 21:41:41 +01:00
tiosgz
a5ea9e98f7 Catch up with wlroots 0.15 breaking changes 2021-12-20 19:07:56 +00:00
buffet
cf228a0819 Move stuff into output_damage() function 2021-08-15 17:07:54 +00:00
buffet
99743e7e2b Redraw twice on damage (even more hacky) 2021-08-14 20:25:15 +00:00
buffet
b832975c6d Add hacky lazy damage tracking implementation 2021-08-14 19:44:20 +00:00
tiosgz
ea13f7d7c5 kiwmi_output:usable_area() and :on("usable_area_change") 2021-08-11 20:30:14 +00:00
tiosgz
d59c7e6b0c Avoid unnecessary layer arrangement
Plus restore alphabetical order
2021-06-19 10:20:35 +00:00
tiosgz
aa22efcfe8 Fix incompatibilities with wlroots 0.13 2021-04-24 11:53:05 +00:00
buffet
c18afb4e26 Only calculate output coords once per render 2020-01-22 23:16:09 +00:00
buffet
4262e81962 Start layer-shell 2020-01-15 20:30:37 +00:00
buffet
2631b77fb1 Add output:on_resize, fix missing output:on 2020-01-08 21:46:36 +00:00
buffet
78d97127ed Add output interface 2020-01-06 18:25:46 +00:00
buffet
83eef45530 Move headers 2019-10-16 18:51:18 +02:00
Renamed from include/kiwmi/desktop/output.h (Browse further)