diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-23 21:32:31 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:54 -0500 |
| commit | 32a92abf7578ea93d85741b7c89a0958082aa9ee (patch) | |
| tree | f8947a21386d8153350441653c216d3a93d53495 /openbox/grab.c | |
| parent | 27274cff9c3ee668be0aa71ff4a72979a13cb4ca (diff) | |
move the code for tracking what extensions are available on the display into the libobt
Diffstat (limited to 'openbox/grab.c')
| -rw-r--r-- | openbox/grab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/grab.c b/openbox/grab.c index d84ef94f..cfbbbe1a 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -180,7 +180,7 @@ void grab_button_full(guint button, guint state, Window win, guint mask, XGrabButton(ob_display, button, state | mask_list[i], win, False, mask, pointer_mode, GrabModeAsync, None, ob_cursor(cur)); obt_display_ignore_errors(ob_display, FALSE); - if (obt_display_error_occured()) + if (obt_display_error_occured) ob_debug("Failed to grab button %d modifiers %d", button, state); } @@ -202,7 +202,7 @@ void grab_key(guint keycode, guint state, Window win, gint keyboard_mode) XGrabKey(ob_display, keycode, state | mask_list[i], win, FALSE, GrabModeAsync, keyboard_mode); obt_display_ignore_errors(ob_display, FALSE); - if (obt_display_error_occured()) + if (obt_display_error_occured) ob_debug("Failed to grab keycode %d modifiers %d", keycode, state); } |
