]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
the left and right resize handles are the border, not grips
[chaz/openbox] / openbox / event.c
index ace548a6498fbe3b877ed4469cf9740cb3dc9d44..bf2fd932cf1f68e2ab90888cb627743641560b73 100644 (file)
@@ -772,7 +772,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
         {
             /* use where the press occured */
             con = frame_context(client, e->xbutton.window, px, py);
-            con = mouse_button_frame_context(con, e->xbutton.button);
+            con = mouse_button_frame_context(con, e->xbutton.button,
+                                             e->xbutton.state);
 
             if (e->type == ButtonRelease && e->xbutton.button == pb)
                 pb = 0, px = py = -1;
This page took 0.024092 seconds and 4 git commands to generate.