int startX, startY;
UINT32 width = window->width;
UINT32 height = window->height;
+ /* xfc->decorations is set by caller depending on settings and whether it is fullscreen or not */
window->decorations = xfc->decorations;
+ /* show/hide decorations (e.g. title bar) as guided by xfc->decorations */
xf_SetWindowDecorations(xfc, window->handle, window->decorations);
+ DEBUG_X11(TAG, "X window decoration set to %d", (int)window->decorations);
+ if (xfc->floatbar)
+ xf_floatbar_toggle_visibility(xfc, fullscreen);
+
if (fullscreen)
{
xfc->savedWidth = xfc->window->width;