X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=97cab3e6492a7b6b8ffebb0b7a2ed143f8e753dc;hb=0116d82463197bea2890230d71a69e4b92489166;hp=71748d65277701dc383711c89733aeb683b66f42;hpb=ca8665e3093108d5b148916de69ffd9a13be88e4;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 71748d65..97cab3e6 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -58,6 +58,7 @@ gboolean screen_showing_desktop; DesktopLayout screen_desktop_layout; gchar **screen_desktop_names; Window screen_support_win; +Time screen_desktop_user_time = CurrentTime; static Rect **area; /* array of desktop holding array of xinerama areas */ static Rect *monitor_area; @@ -475,6 +476,9 @@ void screen_set_desktop(guint num) } event_ignore_queued_enters(); + + if (event_curtime != CurrentTime) + screen_desktop_user_time = event_curtime; } static void get_row_col(guint d, guint *r, guint *c)