]> Dogcows Code - chaz/openbox/blobdiff - plugins/mouse/mouse.c
use the right client
[chaz/openbox] / plugins / mouse / mouse.c
index bc799313a8390c880f52a9860c28e19d2d5e2357..abfcecae0144a91d14281a4ffe432ff8118e658a 100644 (file)
@@ -278,7 +278,7 @@ static void event(ObEvent *e, void *foo)
                 ABS(e->data.x.e->xmotion.y_root - py) >= threshold) {
                 guint32 corner;
 
-                if (!client)
+                if (!e->data.x.client)
                     corner = prop_atoms.net_am_moveresize_size_bottomright;
                 else
                     corner =
This page took 0.021829 seconds and 4 git commands to generate.