diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 22:31:45 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 22:31:45 +0000 |
commit | fda8974e0a1daa704be0dc33fe04ae4564310c12 (patch) | |
tree | 73e04108913d6c346aa8c866a73a94a60e1b84d3 /chrome/common/x11_util.h | |
parent | 804a44b4f3d42d486850e35ac1070acee5abf754 (diff) | |
download | chromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.zip chromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.tar.gz chromium_src-fda8974e0a1daa704be0dc33fe04ae4564310c12.tar.bz2 |
Use the convenience function gdk_screen_get_window_stack to enumerate top-level gdk windows instead of querying Xlib directly, which doesn't work across many window managers.
BUG=none
TEST=Exhaustive tab dragging in multiple window managers (Compiz, Metacity, KWM).
Review URL: http://codereview.chromium.org/119345
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/x11_util.h')
-rw-r--r-- | chrome/common/x11_util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h index d177800..012b020 100644 --- a/chrome/common/x11_util.h +++ b/chrome/common/x11_util.h @@ -60,18 +60,6 @@ bool IsWindowVisible(XID window); // Returns the bounds of |window|. bool GetWindowRect(XID window, gfx::Rect* rect); -// Implementers of this interface receive a notification for every X window of -// the main display. -class EnumerateWindowsDelegate { - public: - // |xid| is the X Window ID of the enumerated window. Return true to stop - // further iteration. - virtual bool ShouldStopIterating(XID xid) = 0; -}; - -// Enumerates the child windows of |root|. -bool EnumerateChildWindows(XID root, EnumerateWindowsDelegate* delegate); - // Return a handle to a server side pixmap. |shared_memory_key| is a SysV // IPC key. The shared memory region must contain 32-bit pixels. XID AttachSharedMemory(Display* display, int shared_memory_support); |