summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-12-11 04:03:58 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-12-11 04:03:58 +0000
commit69dae32c37ff7771775068f24499b374e433f8bd (patch)
tree2ded0d49a486ab90f315cf64d1d48ef6b4c823ca /src/window.h
parentac7524508bd0a4d9779eaaeeba57aad910aaabed (diff)
downloadmetacity-69dae32c37ff7771775068f24499b374e433f8bd.tar.gz
metacity-69dae32c37ff7771775068f24499b374e433f8bd.tar.bz2
Rework the click-client-area-to-focus support to use synchronous grabs,
2001-12-10 Havoc Pennington <hp@pobox.com> Rework the click-client-area-to-focus support to use synchronous grabs, avoids a big mess, lets us pass through click when required (for dock/desktop). Disadvantage is all left-button clicks now require window manager approval. ;-) * src/display.c (event_callback): don't focus dock/desktop when the mouse enters them; require a click. (meta_change_button_grab): allow sync grabs (meta_display_grab_unfocused_window_buttons): establish a synchronous grab and maintain it all the time, rename to meta_display_grab_focus_window_button * src/window.c: change to reflect display.c
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/window.h b/src/window.h
index edc528d..9744656 100644
--- a/src/window.h
+++ b/src/window.h
@@ -173,9 +173,6 @@ struct _MetaWindow
guint keys_grabbed : 1; /* normal keybindings grabbed */
guint grab_on_frame : 1; /* grabs are on the frame */
guint all_keys_grabbed : 1; /* AnyKey grabbed */
-
- /* Used by display.c */
- guint unfocused_buttons_grabbed : 1; /* have the unmodified buttons grabbed */
/* Set if the reason for unmanaging the window is that
* it was withdrawn