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

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

Issue 2329323002: Avoid blocking while mapping an X11 window (Closed)
Patch Set: UpdateMinAndMaxSize in MapWindow Created 4 years, 2 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 40933bc596479e6cd9e5a73b8fbe066ef83882fe..0709b365e757955c0113ad9cb733fb394d9afadf 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
@@ -275,13 +275,11 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
ui::X11AtomCache atom_cache_;
- // Is the window mapped to the screen?
+ // Whether the window is mapped with respect to the X11.
bool window_mapped_;
- // Should we wait for an UnmapNotify before trying to remap the window?
- // If |wait_for_unmap_| is true, we have sent an XUnmapWindow request to the
- // server and have yet to receive an UnmapNotify.
- bool wait_for_unmap_;
+ // Whether the window is visible with respect to Aura.
+ bool is_visible_;
// The bounds of |xwindow_|.
gfx::Rect bounds_in_pixels_;
« no previous file with comments | « ui/events/platform/x11/x11_event_source.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698