]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
pass the Client for frame_context cuz the client might be NULL
[chaz/openbox] / openbox / event.c
index 4d449f78856bd929c5e60bae05c580b07de894ae..b0ab0f35cc4b6c4cb5a64a380e5650c3c1b80b02 100644 (file)
@@ -369,7 +369,7 @@ static void event_handle_client(Client *client, XEvent *e)
     switch (e->type) {
     case ButtonPress:
     case ButtonRelease:
-        switch (frame_context(client->frame, e->xbutton.window)) {
+        switch (frame_context(client, e->xbutton.window)) {
         case Context_Maximize:
             client->frame->max_press = (e->type == ButtonPress);
             framerender_frame(client->frame);
This page took 0.023362 seconds and 4 git commands to generate.