diff options
author | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 06:44:38 +0000 |
---|---|---|
committer | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 06:44:38 +0000 |
commit | fb6ce9a0cbf90c88f5820f1cc0dc2a9c091c80ee (patch) | |
tree | bdaa8f441172783639479ee62ad5938f29e1106b /chrome/common/x11_util.h | |
parent | 0ede01dae033abeb7b0f4f38675b2bb3fe30df90 (diff) | |
download | chromium_src-fb6ce9a0cbf90c88f5820f1cc0dc2a9c091c80ee.zip chromium_src-fb6ce9a0cbf90c88f5820f1cc0dc2a9c091c80ee.tar.gz chromium_src-fb6ce9a0cbf90c88f5820f1cc0dc2a9c091c80ee.tar.bz2 |
Move options dialog to the desktop of last active browser window.
Prevent moving options dialog out of monitor boundaries.
BUG=1143
TEST=Tested on Linux with multiple desktops.
Review URL: http://codereview.chromium.org/555151
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38084 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/x11_util.h')
-rw-r--r-- | chrome/common/x11_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h index c7a1b67..769f941 100644 --- a/chrome/common/x11_util.h +++ b/chrome/common/x11_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -158,6 +158,8 @@ bool GetWindowManagerName(std::string* name); void GrabWindowSnapshot(GtkWindow* gdk_window, std::vector<unsigned char>* png_representation); +// Change desktop for |window| to the desktop of |destination| window. +bool ChangeWindowDesktop(XID window, XID destination); } // namespace x11_util |