]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
Merge branch 'master' into chaz
[chaz/openbox] / openbox / focus.c
index 8c023618e71188b85a5b02580733bf08b13c8567..a4626bf83af64c900efafb1d45c3695fca832cf3 100644 (file)
@@ -100,6 +100,10 @@ void focus_set_client(ObClient *client)
         active = client ? client->window : None;
         OBT_PROP_SET32(obt_root(ob_screen), NET_ACTIVE_WINDOW, WINDOW, active);
     }
+
+    /* when focus is moved to a new window, the last_user_time timestamp would
+       no longer be valid, as it applies for the focused window */
+    event_reset_user_time();
 }
 
 static ObClient* focus_fallback_target(gboolean allow_refocus,
This page took 0.024987 seconds and 4 git commands to generate.