mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
wlr-foreign: send output_enter on initialization
This fixes a bug that output_enter events are not sent when a Slack window running in background is re-mapped, which caused missing taskbar items in Waybar when it's configured to show windows per output.
This commit is contained in:
parent
01592d2633
commit
9a473f1848
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ wlr_foreign_toplevel_init(struct foreign_toplevel *toplevel)
|
||||||
handle_new_title(&wlr_toplevel->on_view.new_title, NULL);
|
handle_new_title(&wlr_toplevel->on_view.new_title, NULL);
|
||||||
handle_maximized(&wlr_toplevel->on_view.maximized, NULL);
|
handle_maximized(&wlr_toplevel->on_view.maximized, NULL);
|
||||||
handle_fullscreened(&wlr_toplevel->on_view.fullscreened, NULL);
|
handle_fullscreened(&wlr_toplevel->on_view.fullscreened, NULL);
|
||||||
|
handle_new_outputs(&wlr_toplevel->on_view.new_outputs, NULL);
|
||||||
|
|
||||||
/* Client side requests */
|
/* Client side requests */
|
||||||
CONNECT_SIGNAL(wlr_toplevel->handle, &wlr_toplevel->on, request_maximize);
|
CONNECT_SIGNAL(wlr_toplevel->handle, &wlr_toplevel->on, request_maximize);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue