]> Dogcows Code - chaz/openbox/commitdiff
don't fake an enter event if where still in the same window
authorMikael Magnusson <mikachu@comhem.se>
Sat, 26 May 2007 23:30:59 +0000 (23:30 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 26 May 2007 23:30:59 +0000 (23:30 +0000)
openbox/action.c

index 39da39a5b7842ec4159545abd1f3ddf9ad7f7ef5..d720f97dcce41791a88df2b9b4f1a3b7ba08dce4 100644 (file)
@@ -57,7 +57,8 @@ static void client_action_end(union ActionData *data)
                    event will come as a GrabNotify which is ignored, so this
                    makes a fake enter event
                 */
-                if ((c = client_under_pointer()))
+                if ((c = client_under_pointer())
+                    && c != data->any.c)
                     event_enter_client(c);
             }
         }
This page took 0.02966 seconds and 4 git commands to generate.