diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 07:09:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 07:09:34 +0000 |
| commit | 1e957a168808f0357509300e879c0a7e97b49a24 (patch) | |
| tree | 96f90517ae2d2a2196bd0dc6d54d89b203538fd8 /openbox/event.h | |
| parent | f694c650c83a7c29324debf3ac35d5e0c3abd84e (diff) | |
some changes to focus handling.
most interesting is the change in focus_fallback, which means that it won't
call xsetinput focus in some cases, potentially reducing flicker and stuff.
also potentially producing bugs? heh.
the screen.c focus fallback code doesn't seem to need special cases anymore,
which is really good, if that is really the case.
move the focus_tried stuff out of event.c into focus.c, where it seems to
belong.
Diffstat (limited to 'openbox/event.h')
| -rw-r--r-- | openbox/event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.h b/openbox/event.h index 4fdf292e..08ee0c1c 100644 --- a/openbox/event.h +++ b/openbox/event.h @@ -51,4 +51,7 @@ void event_halt_focus_delay(); comes at the same time or later than t2. */ gboolean event_time_after(Time t1, Time t2); +/*! Used with XCheckIfEvent to find a focusin event on a client window */ +Bool event_look_for_focusin_client(Display *d, XEvent *e, XPointer arg); + #endif |
