GNOME Bugzilla – Bug 711811
Match fullscreen mode to the proposed design
Last modified: 2013-11-17 11:08:21 UTC
In fullscreen mode, the bottom toolbar is always displayed, and is superimposed over the content. When the mouse pointer is moved over the window or the user touches the window, the top bar and top toolbar are shown.
Created attachment 259870 [details] [review] Match fullscreen mode to the proposed design
Review of attachment 259870 [details] [review]: This doesn;t quite work, as if I press F11 to go fullscreen and then F11 again, the title bar (header bar) disappears. ::: src/cheese-window.vala @@ +94,3 @@ private bool is_effects_selector_active; private bool action_cancelled; + private bool is_maximize; A better name is probably "was_maximized", as it reflects the purpose of the variable. @@ +125,3 @@ + if (((event.new_window_state - event.changed_mask) & Gdk.WindowState.MAXIMIZED) != 0) + { + is_maximize = true; You can simplify this down to: was_maximized = (((event.new_window_state - event.changed_mask) & Gdk.WindowState.MAXIMIZED) != 0);
Created attachment 259953 [details] [review] Match fullscreen mode to the proposed design
Comment on attachment 259953 [details] [review] Match fullscreen mode to the proposed design Thanks for the patch, I pushed a slightly-modified version to master as f04e641b30e65d8fc6f96d1eb4d8758e195aecd4.