summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-12-11 03:06:55 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-12-11 03:06:55 +0000
commitac7524508bd0a4d9779eaaeeba57aad910aaabed (patch)
treef51400a34d1b07d01999c241508a6935944be2c3 /src
parent4af0425d72423ce20480bd9111213631b385b0ba (diff)
downloadmetacity-ac7524508bd0a4d9779eaaeeba57aad910aaabed.tar.gz
metacity-ac7524508bd0a4d9779eaaeeba57aad910aaabed.tar.bz2
oops, unbreak this _again_ - reported by Josh Barrow
2001-12-10 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_update_unfocused_button_grabs): oops, unbreak this _again_ - reported by Josh Barrow
Diffstat (limited to 'src')
-rw-r--r--src/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index ecbf119..a487a69 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2050,7 +2050,8 @@ meta_window_update_unfocused_button_grabs (MetaWindow *window)
* do is focus these windows, but pass thru click. What we
* do now is ignore clicks on them.
*/
- if (window->type != META_WINDOW_DOCK &&
+ if (!window->has_focus &&
+ window->type != META_WINDOW_DOCK &&
window->type != META_WINDOW_DESKTOP)
{
/* Not focused so grab */