Commit graph

23 commits

Author SHA1 Message Date
Dana Jansens
08269cefbc make menu input work with the new obt keyboard stuff.
create an Input Context for use during keyboard grabs, and use this to
  translate KeyPress events properly.
make the menu respond to KeyPress events, since these are the only ones that
  can be translated properly, but still execute things from KeyRelease events
2010-02-11 14:17:59 -05:00
Mikael Magnusson
9e05faf3d6 () -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have. 2008-02-15 16:47:10 +01:00
Dana Jansens
124303ab72 only xungrabkeyboard when we actually have a passive grab on it 2007-06-12 15:53:14 +00:00
Dana Jansens
9fcb2aa1d2 add grab/ungrab macros so dont need to pass in 10 arguments to ungrab stuff.
add a confine option to grab_pointer to confine the pointer to the screen, and use that for moveresize
2007-05-13 23:30:52 +00:00
Dana Jansens
c8983c42a7 playing a bit with grabs
make mouse clicks cancel alt-tab and stuff if you arent dragging during the alt-tab
2007-04-25 14:13:32 +00:00
Dana Jansens
2442cdfd85 1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
2007-04-23 17:56:35 +00:00
Dana Jansens
4c672be2e1 remove grab_pointer_window, nothing used it 2007-04-22 14:37:14 +00:00
Dana Jansens
ff43372da7 only pass thru events when the menu is open, don't for other stuff 2007-04-22 14:07:29 +00:00
Dana Jansens
740c5b2a20 consistant glib type usage 2003-10-15 03:59:35 +00:00
Dana Jansens
32047fd66c export if the keyboard and pointer are currently grabbed or not 2003-09-21 17:17:19 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
bb44e8d047 match the declarations in the header 2003-09-04 00:42:43 +00:00
Dana Jansens
806a8c411f add a reconfigure action, also reconfigure on SIGUSR2.
support reconfiguring throughout the entire codebase.
2003-09-03 18:11:39 +00:00
Dana Jansens
276b2be581 add misc.h with some standard enumerations with proper prefixing and 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-07-10 06:18:47 +00:00
Dana Jansens
d3dd25a55c return FALSE if a grab fails 2003-06-26 07:58:25 +00:00
Dana Jansens
795d90c3bc make key grabbing per window instead of always root 2003-06-04 22:45:54 +00:00
Dana Jansens
ed4f84ac33 can drag slit-apps around in the slit 2003-05-11 05:15:43 +00:00
Dana Jansens
c4af950903 fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process. 2003-04-17 07:00:13 +00:00
Dana Jansens
185d1337e5 menus works on some level. add a built-in root menu 2003-04-16 18:09:11 +00:00
Dana Jansens
bcca5bb967 add funcs to grab buttons and keys 2003-03-19 18:55:56 +00:00
Dana Jansens
7d215bd255 add 'grab_server' for grabbing .. the .. server! 2003-03-18 20:00:44 +00:00
Dana Jansens
598c5d6c07 provide functions for grabbing and ungrabbing the keyboard and pointer 2003-03-18 19:51:56 +00:00