summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/window.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a3e229b..ad23449 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
+
+2001-12-10 Havoc Pennington <hp@pobox.com>
+
* src/window.c (meta_window_update_unfocused_button_grabs): don't
allow grab on docks/desktop for now; needs fixing later to
do the grab, but pass thru click, so we can focus those windows.
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 */