mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window-props: Handle hide-titlebar-when-maximized for tiled windows
While we apply the setting to both maximized and tiled windows, we currently only queue a resize for the former. This is required for the setting to take effect immediately if the window is already tiled. https://gitlab.gnome.org/GNOME/mutter/issues/296
This commit is contained in:
parent
9cfd185316
commit
108224cd33
@ -1729,7 +1729,8 @@ reload_gtk_hide_titlebar_when_maximized (MetaWindow *window,
|
|||||||
|
|
||||||
window->hide_titlebar_when_maximized = requested_value;
|
window->hide_titlebar_when_maximized = requested_value;
|
||||||
|
|
||||||
if (META_WINDOW_MAXIMIZED (window))
|
if (META_WINDOW_MAXIMIZED (window) ||
|
||||||
|
META_WINDOW_TILED_SIDE_BY_SIDE (window))
|
||||||
{
|
{
|
||||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
||||||
meta_window_frame_size_changed (window);
|
meta_window_frame_size_changed (window);
|
||||||
|
Loading…
Reference in New Issue
Block a user