Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 543663003: Fix maximize on some window managers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 1c08221c752c442746c1c4a68095263c42827af8..12bd9a159f984acae24cf4add12c3d5a6ed1b430 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -286,6 +286,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
// True if the window has title-bar / borders provided by the window manager.
bool use_native_frame_;
+ // True if a Maximize() call should be done after mapping the window.
+ bool should_maximize_after_map_;
+
// Whether we used an ARGB visual for our window.
bool use_argb_visual_;

Powered by Google App Engine
This is Rietveld 408576698