WaylandSurface: Do roundtrip to get fractional size before initialization.

This commit is contained in:
BearOso 2023-07-04 09:41:27 -05:00
parent 5e021b1abc
commit ec8bdaa6eb
2 changed files with 3 additions and 1 deletions

View File

@ -139,6 +139,8 @@ bool WaylandSurface::attach(wl_display *display, wl_surface *surface, Metrics m)
zwp_idle_inhibit_manager_v1_create_inhibitor(idle_inhibit_manager, child);
}
wl_display_roundtrip(display);
resize(m);
return true;

@ -1 +1 @@
Subproject commit 197a273fd494321157f40a962c51b5fa8c9c3581
Subproject commit 4e2fdb25671c742a9fbe93a6034eb1542244c7e1