summaryrefslogtreecommitdiff
path: root/openbox/event.c
AgeCommit message (Collapse)Author
2007-04-24only grab keybinds on the root window, not every client windowMikael Magnusson
2007-04-24dont cause focus change with enter events when youre already in the windowDana Jansens
2007-04-24add support for _NET_WM_SYNC_REQUESTDana Jansens
2007-04-24save windows' colormaps rather than querying them from the server every time ↵Dana Jansens
you focus it
2007-04-241. remove some old event handling that was not used at all. yay less bandwidth.Dana Jansens
2. make the client padding color show during resizes with drawContents off
2007-04-23leavenotify events messing up delayed focusDana Jansens
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-04-22when windows reverttoparent, we will get a notifynonlinear when the frame closesDana Jansens
2007-04-22use focusouts from unmanaged windows (windows which have just closed)Dana Jansens
2007-04-22add a debug messageDana Jansens
2007-04-22focusin to the root window happens on both monitors when a focused window ↵Dana Jansens
unmaps... boo...
2007-04-22ignore some focus events that shouldnt be reacted toDana Jansens
2007-04-22(no commit message)Dana Jansens
2007-04-22a) set the focus client before calculating its layerDana Jansens
b) cleanup in focus.c
2007-04-22FocusOut events come after UnmapNotify, so we don't need to worry about ↵Dana Jansens
focusing an invalid window
2007-04-22a) remove focus_hilite, it is not needed and complicated thingsDana Jansens
b) set focus_client to null when nothing is actually focused, but still allow focus to go to black holes c) allow the focus action to be performed without a client, this will focus the openbox instance (i.e. the screen in multihead setups) big thanks to syscrash for the ideas on how to go about this
2007-04-22don't compare client pointers with random numbersMikael Magnusson
2007-04-22dont need to ignore mouse events during a keyboard grab, they go to the ↵Dana Jansens
grab-window anyways use our built in grab_keyboard
2007-04-22don't grab the pointer during interactive events. this allows you to alt-tab ↵Dana Jansens
during a dnd.
2007-04-22only pass thru events when the menu is open, don't for other stuffDana Jansens
2007-04-22eat enter events after unmanaging a windowDana Jansens
change how focus falls back for windows being unmanaged, don't fall back immediately, instead wait for the focus out event and use it (break stuff maybe! yay)
2007-04-22add a comparitor to timers. use this in event.c to let you remove timers ↵Dana Jansens
from the queue selectively for delayed focus
2007-04-22highlight for motion events in the menu too, this is useful when the enter ↵Dana Jansens
gets ignored cuz the mouse was already inside it
2007-04-22fix segfaultsDana Jansens
2007-04-22properly handle clients disappearing during delayed focus on themDana Jansens
2007-04-22use the timestamp from the original enter when delay-focusing a windowDana Jansens
2007-04-22ignore crossing events while an interactive grab is going on.Dana Jansens
when a menu is open, use the crossing events for the menu only.
2007-04-22better event handling for menusDana Jansens
2007-04-22handle enter/leave events in the menuDana Jansens
2007-04-21hide focus debugging messagesDana Jansens
2007-04-18don't allow comparison with timestamps to CurrentTime. it just doesn't make ↵Dana Jansens
any sense. (also client interface changed, that is in the next commit)
2007-04-12set event_curtime if we're going to use it onlyDana Jansens
2007-03-28proper logic for event_time_after, and wraparounds and suchDana Jansens
2007-03-28drop some wasted client_validates.Dana Jansens
2007-03-28handle time wrapping around.Dana Jansens
2007-03-25don't menu menus jump around at all anymore. open them on screen in the ↵Dana Jansens
first place
2007-03-24watch for reverttoparent reverting to the root window, which will create a ↵Dana Jansens
DetailInferior focusin event on root. adding some debug messages also which I am using..
2007-03-21ignore focus events on root that we don't care aboutDana Jansens
2007-03-21allow focus to disappear to black holes. (that is, windows not managed by ↵Dana Jansens
openbox). the black hole may just be a window on another monitor. keyboard events aren't going to work in this scenario, though.
2007-03-19not passing timestamps sometimes and not others. set event_curtime when ↵Dana Jansens
client messages provide a timestamp.
2007-03-14oh, 2 things in this commit..Dana Jansens
1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh! 2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
2007-03-14focus fallbackMikael Magnusson
2007-03-12remove event_lastttime. use CurrentTime when handling events without a ↵Dana Jansens
timestamp in them
2007-03-12fallback is still getting x errors. instead, fallback when the client ↵Dana Jansens
iconifies, and don't fallback when nothing has focus, send it to where we can control things though.
2007-03-12focusins can occur on windows that aren't clients when there's latency ↵Dana Jansens
involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.
2007-03-12don't validate inside client_focus. instead, validate before you call it!Dana Jansens
2007-03-12update focus_hilite appropriately for when changing desktopsDana Jansens
2007-03-12i rewrote handling of focus events. this is pretty much based on blackbox's ↵Dana Jansens
current form, as well as reading the xlib programming manual at: http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.
2007-03-12remove the group option for the restacking commands in rc.xml, cuz groups ↵Dana Jansens
are clever now
2007-03-11add _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can ↵Dana Jansens
be sucky right now, lol. but it's good for dialogs and stuff, which is what this is talking about. also add _NET_WM_MOVERESIZE_CANCEL.