]> git.mdlowis.com Git - proto/labwc.git/commit
Ensure the view signals are initialized early
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 7 Jun 2025 02:26:35 +0000 (04:26 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 7 Jun 2025 03:03:57 +0000 (05:03 +0200)
commit4d79f0057fffd82bde7cea4ea1ebb170ce09e046
tree8bb79ae237e8c90ff0e420424ecf3ad01133c489
parent6cb34f994c4c2409d330b49723be62d14b8b4ede
Ensure the view signals are initialized early

This prevents a crash observed by the scaled-icon-buffer listening
to the `view->events.set_icons` signal before it is initialized.
For this to happen, the application needs to use the kde decoration
protocol and set it on the xdg_surface before creating the xdg_toplevel.

Fixes: #2798
src/xdg.c
src/xwayland.c