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
This commit is contained in:
Havoc Pennington 2001-12-11 03:06:55 +00:00 committed by Havoc Pennington
parent 4af0425d72
commit ac7524508b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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> 2001-12-10 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_update_unfocused_button_grabs): don't * src/window.c (meta_window_update_unfocused_button_grabs): don't

View File

@ -2050,7 +2050,8 @@ meta_window_update_unfocused_button_grabs (MetaWindow *window)
* do is focus these windows, but pass thru click. What we * do is focus these windows, but pass thru click. What we
* do now is ignore clicks on them. * 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) window->type != META_WINDOW_DESKTOP)
{ {
/* Not focused so grab */ /* Not focused so grab */