summaryrefslogtreecommitdiff
path: root/openbox/event.c
AgeCommit message (Collapse)Author
2007-05-02better menu keyboard handling.Dana Jansens
also, when you hit a keybinding while menus are open, it will close the menus and run the binding.
2007-05-02make keeping windows on screen much more cleverDana Jansens
2007-05-02don't accept non-letter keys for shortcuts, they can't be shortcuts anyways ↵Dana Jansens
and it was mis-matching
2007-05-01a whole lot of changes to the moving/resizing code. it was broken for ↵Dana Jansens
non-northwest gravities. now it is not. at least, that is the idea.
2007-04-25dont go to disabled menu entries with keyboard shortcutsDana Jansens
fix some rendering of shortcuts
2007-04-25cleanups for keyboard menu shotcuts. dont let & set a shortcut from stuff ↵Dana Jansens
like menu titles and what not, they are only for strigns oenbox provides.
2007-04-25add keyboard shortcuts to the menus. you can specify the shortcut key with & ↵Dana Jansens
even in root menu and stuff
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