]> git.mdlowis.com Git - proto/labwc.git/commit
layer-shell: stop sending configure events on surface creation
authortokyo4j <hrak1529@gmail.com>
Tue, 23 Jul 2024 10:09:48 +0000 (19:09 +0900)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 23 Jul 2024 12:47:56 +0000 (14:47 +0200)
commit1765bf8cc2adc8fb2218a02e01652d6659402ac1
treee042d679a1a49f1fe826530c10c509e46e5f775a
parent3879f1f080c470a053f234f67c989f4f268c3b73
layer-shell: stop sending configure events on surface creation

With wlroots 0.18, layer-shell's new_surface event is emitted on
zwlr_layer_shell_v1.get_layer_surface request rather than the first
commit. This change layer-shell clients like fuzzel to flicker on launch
because labwc was sending a configure event with fullscreen geometry due
to the absence of geometry hints on get_layer_surface requests.

This commit removes the code that updates the usable area from
new_surface handler, preventing unintended configure events with
fullscreen geometry.
src/layers.c