]> Dogcows Code - chaz/openbox/commitdiff
update the last user interaction timestamp during a move/resize of the focused window
authorDana Jansens <danakj@orodu.net>
Wed, 29 Sep 2010 20:15:01 +0000 (16:15 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000 (14:19 -0500)
openbox/moveresize.c

index 2f68395a1e9ec5cc30bcfd6b8b0f40ffc02038e3..b0543f4a56dbae37baa52a935b906dd161ffef9c 100644 (file)
@@ -21,6 +21,7 @@
 #include "framerender.h"
 #include "screen.h"
 #include "client.h"
+#include "focus.h"
 #include "frame.h"
 #include "openbox.h"
 #include "resist.h"
@@ -1084,5 +1085,9 @@ gboolean moveresize_event(XEvent *e)
         used = TRUE;
     }
 #endif
+
+    if (used && moveresize_client == focus_client)
+        event_update_user_time();
+
     return used;
 }
This page took 0.024634 seconds and 4 git commands to generate.