]> Dogcows Code - chaz/openbox/blobdiff - openbox/mouse.c
add prop.[ch] to the libobt, but they are not used yet. add a global obt_display...
[chaz/openbox] / openbox / mouse.c
index 782ea62cb1579321a1aefd8aff846932996d9677..5a9fe170b8c018d9108f80468c91b72526f91325 100644 (file)
@@ -257,10 +257,10 @@ void mouse_event(ObClient *client, XEvent *e)
             Window wjunk;
             guint ujunk, b, w, h;
             /* this can cause errors to occur when the window closes */
-            obt_display_ignore_errors(ob_display, TRUE);
+            obt_display_ignore_errors(TRUE);
             junk1 = XGetGeometry(ob_display, e->xbutton.window,
                                  &wjunk, &junk1, &junk2, &w, &h, &b, &ujunk);
-            obt_display_ignore_errors(ob_display, FALSE);
+            obt_display_ignore_errors(FALSE);
             if (junk1) {
                 if (e->xbutton.x >= (signed)-b &&
                     e->xbutton.y >= (signed)-b &&
This page took 0.021715 seconds and 4 git commands to generate.