Commit c4811949 authored by Olivier Fourdan's avatar Olivier Fourdan 🛠

netwm: Un-tile before fullscreen

If a client switches to fullscreen, tiling would prevent the window from
being resized correctly, and the client window remains tiled even when
fullscreen.

Make sure to first un-tile the client window when transitioning to
fullscreen.
Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <fourdan@xfce.org>
Closes: #478
parent 63bece13
......@@ -794,6 +794,7 @@ clientUpdateFullscreenState (Client * c)
c->pre_fullscreen_geometry.height = c->height;
c->pre_fullscreen_layer = c->win_layer;
layer = WIN_LAYER_FULLSCREEN;
clientUntile (c);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment