diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-02-06 20:30:40 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-02-06 20:30:40 -0600 |
commit | c215e8a3e1dae6c3f4789dd404d6266c39d9d2dd (patch) | |
tree | aaeaf36808ffd8f94537a02a98930d11313957a6 | |
parent | 8e0b5baf8ef9fcd0a70104a9a02fbc474ea9eb89 (diff) |
send initial configure to xdg-toplevels (wlroots!4396)
We still need to fix xdg-popups
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4396
-rw-r--r-- | dwl.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -756,8 +756,11 @@ commitnotify(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, commit); - if (c->surface.xdg->initial_commit) + if (c->surface.xdg->initial_commit) { wlr_xdg_toplevel_set_wm_capabilities(c->surface.xdg->toplevel, WLR_XDG_TOPLEVEL_WM_CAPABILITIES_FULLSCREEN); + wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, 0, 0); + return; + } if (client_surface(c)->mapped && c->mon) resize(c, c->geom, (c->isfloating && !c->isfullscreen)); |