summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-01-30 17:22:14 +0000
committerElijah Newren <newren@src.gnome.org>2006-01-30 17:22:14 +0000
commit297e0e466f1ba8b9bddfdc659abcf0c659f9a611 (patch)
tree393c95bf2c1f75e7c64117d872653be0ae3ab0c7 /src/display.h
parentbe036ca3002e7633e335f1429b58a80d768686aa (diff)
downloadmetacity-297e0e466f1ba8b9bddfdc659abcf0c659f9a611.tar.gz
metacity-297e0e466f1ba8b9bddfdc659abcf0c659f9a611.tar.bz2
Track the active_screen, (event_callback): If the mouse enters a window on
2006-01-30 Elijah Newren <newren gmail com> * src/display.[ch] (struct MetaDisplay), meta_display_open, meta_display_set_input_focus_window, meta_display_focus_the_no_focus_window): Track the active_screen, (event_callback): If the mouse enters a window on a different screen, activate the default window on the new screen. May need to be modified for click-to-focus; we'll wait for feedback. Fixes #319348.
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display.h b/src/display.h
index ca74f19..639d7a6 100644
--- a/src/display.h
+++ b/src/display.h
@@ -218,6 +218,7 @@ struct _MetaDisplay
guint error_trap_synced_at_last_pop : 1;
MetaEventQueue *events;
GSList *screens;
+ MetaScreen *active_screen;
GHashTable *window_ids;
int error_traps;
int (* error_trap_handler) (Display *display,