summaryrefslogtreecommitdiff
path: root/openbox/grab.c
AgeCommit message (Collapse)Author
2007-06-13remove debug printDana Jansens
2007-06-12only xungrabkeyboard when we actually have a passive grab on itDana Jansens
2007-06-03revert 7283 until we find out what version they are usingDana Jansens
2007-06-03always ungrab the keyboard/mouse with current time because i dont know what ↵Dana Jansens
else we can do with buggy x.org
2007-05-13add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.Dana Jansens
add a confine option to grab_pointer to confine the pointer to the screen, and use that for moveresize
2007-05-05watch for currenttimeDana Jansens
2007-05-04make the modifier key code a lot better...Dana Jansens
1) it can handle more user cases. 2) it can handle binding more modifier keys with their keysym names like Hyper and Super. W is a shortcut for Super, cuz the windows key is generally bound to it. 3) if you change your keymap bindings and reconfigure openbox it will learn your changes. and i dunno.. its just nice and stuff now.. you can actually read it I think..
2007-04-25playing a bit with grabsDana Jansens
make mouse clicks cancel alt-tab and stuff if you arent dragging during the alt-tab
2007-04-24never mind on the hint idea, it was fun while it lasted. at least i know it ↵Dana Jansens
is there now.
2007-04-24add the PointerMotionHintMask everywhere, we dont need every mouse eventDana 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-22remove grab_pointer_window, nothing used itDana Jansens
2007-04-22only pass thru events when the menu is open, don't for other stuffDana 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-22grab enter/leave events during mouse grabs and pass events along still ↵Dana Jansens
during the grab. this is needed to catch enter/leave events in the menus. it seems to not be weird with apps.
2007-03-28use CurrentTime constantDana Jansens
2007-03-28use CurrentTime when time gets moved backwardsDana Jansens
2007-03-28handle time wrapping around.Dana Jansens
2007-03-28make sure the ungrab happens after the grab. fracking X server doesn't have ↵Dana Jansens
a monatomic clock..
2007-03-02this includes a number of things since my magnificent return....Dana Jansens
1. some random compiling/style cleanups 2. some bigfixes - mislogic in per-window-settings and focusing new windows - use client_can_focus rather than checking variables for directional focus - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen. 3. um.. i forget 4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2006-08-22update copyright step 2Mikael Magnusson
2004-10-30None instead of TRUE/FALSE to XGrabPointer (?)Mikael Magnusson
2003-10-15consistant glib type usageDana Jansens
2003-10-03remove debug printsDana Jansens
2003-10-02dont queue up interative end actionsDana Jansens
2003-09-28perhaps fix problems of being left in menus without being able to control ↵Dana Jansens
openbox
2003-09-22dont need to swallow enter events on ungrab cuz we just ignore them all nowDana Jansens
2003-09-21count the EnterNotify events and tell openbox to ignore them when ungrabbing ↵Dana Jansens
the pointer
2003-09-21export if the keyboard and pointer are currently grabbed or notDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-16grab the pointer on the screen_support_win, causing all mouse events during ↵Dana Jansens
a grab to not be acted on as if they were on the root window/context
2003-09-04match the func prototypes in the headerDana Jansens
2003-09-03use the NONE cursor when not specifying oneDana Jansens
2003-08-31grab the pointer Async for key grabs, lets key bindings like ↵Dana Jansens
<execute>xkill</execute> work
2003-08-30remove debug printDana Jansens
2003-08-30using the ObMainLoop, which rulz the planetDana Jansens
2003-08-01oops buttons not keycodesDana Jansens
2003-08-01if a dock app has a button grabbed already then dont dieDana Jansens
2003-07-10remove the ob_root var, its redundant of what Xlib already providesDana Jansens
2003-07-10add misc.h with some standard enumerations with proper prefixing and ↵Dana Jansens
capitalizations. use the new enums throughout. provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
2003-06-26return true when ungrabbing so that it can ungrab them all on shutdownDana Jansens
2003-06-26set ret to true when grabbing and we alerady have it grabbedDana Jansens
2003-06-26return FALSE if a grab failsDana Jansens
2003-06-25grab all motion events for pointer grabsDana Jansens
2003-06-04make key grabbing per window instead of always rootDana Jansens
2003-05-11can drag slit-apps around in the slitDana Jansens
2003-04-17fix up support for moveresize. make keyboard grabs Async so that i can hit ↵Dana Jansens
escape to cancel a moveresize process.
2003-04-16menus works on some level. add a built-in root menuDana Jansens
2003-04-07rm debug printsDana Jansens