diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-26 20:03:31 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:54 -0500 |
| commit | 6c8acc079a9cbb40245e5df4b50b3f8b9c17cf83 (patch) | |
| tree | 70432a7643ac99542aac129b22503e9cacfa667f /openbox/client.c | |
| parent | 5960d27b1c35c58d3c1731c71c44b9c61328a34d (diff) | |
add prop.[ch] to the libobt, but they are not used yet. add a global obt_display which obt can use, and the application.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c index 20ccfe3d..3c295017 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2123,7 +2123,7 @@ void client_update_icons(ObClient *self) if (hints->flags & IconPixmapHint) { self->nicons = 1; self->icons = g_new(ObClientIcon, self->nicons); - obt_display_ignore_errors(ob_display, TRUE); + obt_display_ignore_errors(TRUE); if (!RrPixmapToRGBA(ob_rr_inst, hints->icon_pixmap, (hints->flags & IconMaskHint ? @@ -2135,7 +2135,7 @@ void client_update_icons(ObClient *self) g_free(self->icons); self->nicons = 0; } - obt_display_ignore_errors(ob_display, FALSE); + obt_display_ignore_errors(FALSE); } XFree(hints); } @@ -3611,7 +3611,7 @@ gboolean client_focus(ObClient *self) */ event_cancel_all_key_grabs(); - obt_display_ignore_errors(ob_display, TRUE); + obt_display_ignore_errors(TRUE); if (self->can_focus) { /* This can cause a BadMatch error with CurrentTime, or if an app @@ -3635,7 +3635,7 @@ gboolean client_focus(ObClient *self) XSendEvent(ob_display, self->window, FALSE, NoEventMask, &ce); } - obt_display_ignore_errors(ob_display, FALSE); + obt_display_ignore_errors(FALSE); ob_debug_type(OB_DEBUG_FOCUS, "Error focusing? %d\n", obt_display_error_occured); |
