X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=bf2fd932cf1f68e2ab90888cb627743641560b73;hb=ff681544e4300b4dd165cdad58b9fc0bc7b15613;hp=ace548a6498fbe3b877ed4469cf9740cb3dc9d44;hpb=83da4ec9398d197f39461cd7305163b2676840c8;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index ace548a6..bf2fd932 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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;