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

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

Issue 2630773002: Avoid blocking while mapping an X11 window (Closed)
Patch Set: Address feedback Created 3 years, 9 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 544f086603c026a0f0109e4cf666132ee17356e7..757b7808e08cc403f11b1e573661245b8ec18c4d 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
@@ -291,13 +291,11 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
ui::X11AtomCache atom_cache_;
- // Is the window mapped to the screen?
- bool window_mapped_;
+ // Whether the window is mapped with respect to the X server.
+ bool window_mapped_in_server_;
- // 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 window_mapped_in_client_;
// 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