]> git.mdlowis.com Git - proto/labwc.git/commit
output: Call do_output_layout_change() at end of new_output_notify().
authorJohn Lindgren <john@jlindgren.net>
Tue, 20 Sep 2022 05:17:22 +0000 (01:17 -0400)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 21 Sep 2022 05:33:00 +0000 (07:33 +0200)
commit7233495c3a366a3c80eee6dbb71ede1bec4a418e
treefe5729ba317364fa528a96c05be851702e777d74
parentdcedfee5d11524fc1b8ff742758147b47f26c9a6
output: Call do_output_layout_change() at end of new_output_notify().

This fixes an issue with the wlr_output_cursor not being properly
initialized on new outputs, because wlr_output_layout.events.change
is triggered too soon, before the wlr_output_cursor exists.
include/labwc.h
src/output.c