diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 03:56:24 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 03:56:24 +0000 |
commit | 8e85884ba4efff3c2189581d9819dfdfcfb35aa6 (patch) | |
tree | 36900f1103b8a1a594cfef82f19820293ec5cc7d /chrome/browser/gtk/browser_window_gtk.h | |
parent | 5fa9098c17f5463a06f7eb0bd7eea8d9dda0a170 (diff) | |
download | chromium_src-8e85884ba4efff3c2189581d9819dfdfcfb35aa6.zip chromium_src-8e85884ba4efff3c2189581d9819dfdfcfb35aa6.tar.gz chromium_src-8e85884ba4efff3c2189581d9819dfdfcfb35aa6.tar.bz2 |
Linux: suppress calling gdk_window_raise() on titlebar click when running compiz. It can cause a really weird bug in the version of compiz in Ubuntu 8.04, which we still want to support.
BUG=19291
TEST=drag a window partially offscreen when using compiz in 8.04, then click in the title bar - it will not disappear or move
Review URL: http://codereview.chromium.org/1564024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h index bac7a3d..53e58cc 100644 --- a/chrome/browser/gtk/browser_window_gtk.h +++ b/chrome/browser/gtk/browser_window_gtk.h @@ -402,6 +402,10 @@ class BrowserWindowGtk : public BrowserWindow, // first time. This is to work around a compiz bug. bool maximize_after_show_; + // If true, don't call gdk_window_raise() when we get a click in the title + // bar or window border. This is to work around a compiz bug. + bool suppress_window_raise_; + // The accelerator group used to handle accelerators, owned by this object. GtkAccelGroup* accel_group_; |