X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmouse.c;fp=openbox%2Fmouse.c;h=56553c7da5961cd518775704d0cd78467a562eb4;hb=e2ddfaf9fff1fb9dd6ebdc1a95f2b228d6baedb2;hp=5a9fe170b8c018d9108f80468c91b72526f91325;hpb=6c8acc079a9cbb40245e5df4b50b3f8b9c17cf83;p=chaz%2Fopenbox diff --git a/openbox/mouse.c b/openbox/mouse.c index 5a9fe170..56553c7d 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -237,7 +237,7 @@ void mouse_event(ObClient *client, XEvent *e) if (CLIENT_CONTEXT(context, client)) { /* Replay the event, so it goes to the client*/ - XAllowEvents(ob_display, ReplayPointer, event_curtime); + XAllowEvents(obt_display, ReplayPointer, event_curtime); /* Fall through to the release case! */ } else break; @@ -258,7 +258,7 @@ void mouse_event(ObClient *client, XEvent *e) guint ujunk, b, w, h; /* this can cause errors to occur when the window closes */ obt_display_ignore_errors(TRUE); - junk1 = XGetGeometry(ob_display, e->xbutton.window, + junk1 = XGetGeometry(obt_display, e->xbutton.window, &wjunk, &junk1, &junk2, &w, &h, &b, &ujunk); obt_display_ignore_errors(FALSE); if (junk1) {