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/event.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/event.c')
| -rw-r--r-- | openbox/event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/event.c b/openbox/event.c index 63e27df6..7e4e25f3 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -595,7 +595,7 @@ static void event_process(const XEvent *ec, gpointer data) Window win, root; gint i; guint u; - obt_display_ignore_errors(ob_display, TRUE); + obt_display_ignore_errors(TRUE); if (XGetInputFocus(ob_display, &win, &i) != 0 && XGetGeometry(ob_display, win, &root, &i,&i,&u,&u,&u,&u) != 0 && root != RootWindow(ob_display, ob_screen)) @@ -607,7 +607,7 @@ static void event_process(const XEvent *ec, gpointer data) else ob_debug_type(OB_DEBUG_FOCUS, "Focus went to a black hole !\n"); - obt_display_ignore_errors(ob_display, FALSE); + obt_display_ignore_errors(FALSE); /* nothing is focused */ focus_set_client(NULL); } else { @@ -685,10 +685,10 @@ static void event_process(const XEvent *ec, gpointer data) /* we are not to be held responsible if someone sends us an invalid request! */ - obt_display_ignore_errors(ob_display, TRUE); + obt_display_ignore_errors(TRUE); XConfigureWindow(ob_display, window, e->xconfigurerequest.value_mask, &xwc); - obt_display_ignore_errors(ob_display, FALSE); + obt_display_ignore_errors(FALSE); } #ifdef SYNC else if (obt_display_extension_sync && |
