Dana Jansens
47d63718c6
revert 7283 until we find out what version they are using
2007-06-03 17:07:26 +00:00
Dana Jansens
c61c7e7329
always ungrab the keyboard/mouse with current time because i dont know what else we can do with buggy x.org
2007-06-03 16:59:24 +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
3db93a6ab5
watch for currenttime
2007-05-05 16:12:36 +00:00
Dana Jansens
7e946f68d9
make the modifier key code a lot better...
...
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-05-04 01:10:03 +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
3595da62ca
never mind on the hint idea, it was fun while it lasted. at least i know it is there now.
2007-04-24 01:16:33 +00:00
Dana Jansens
a488360f48
add the PointerMotionHintMask everywhere, we dont need every mouse event
2007-04-24 01:00:27 +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
a5caab959c
ignore crossing events while an interactive grab is going on.
...
when a menu is open, use the crossing events for the menu only.
2007-04-22 02:12:32 +00:00
Dana Jansens
854b2ae684
grab enter/leave events during mouse grabs and pass events along still during the grab. this is needed to catch enter/leave events in the menus. it seems to not be weird with apps.
2007-04-22 00:35:36 +00:00
Dana Jansens
6372bd7c0d
use CurrentTime constant
2007-03-28 19:42:45 +00:00
Dana Jansens
2876f22088
use CurrentTime when time gets moved backwards
2007-03-28 19:41:41 +00:00
Dana Jansens
339d767044
handle time wrapping around.
2007-03-28 01:52:06 +00:00
Dana Jansens
0ec2282e2c
make sure the ungrab happens after the grab. fracking X server doesn't have a monatomic clock..
2007-03-28 01:11:40 +00:00
Dana Jansens
78af5d15e9
this includes a number of things since my magnificent return....
...
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*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
d9f14c1d01
update copyright step 2
2006-08-22 16:44:18 +00:00
Mikael Magnusson
b27343a314
None instead of TRUE/FALSE to XGrabPointer (?)
2004-10-30 19:36:40 +00:00
Dana Jansens
740c5b2a20
consistant glib type usage
2003-10-15 03:59:35 +00:00
Dana Jansens
e2f3c00224
remove debug prints
2003-10-03 04:20:23 +00:00
Dana Jansens
9bd60fd92b
dont queue up interative end actions
2003-10-02 04:06:40 +00:00
Dana Jansens
b8ba1cff1f
perhaps fix problems of being left in menus without being able to control openbox
2003-09-28 09:24:22 +00:00
Dana Jansens
a43303bdcb
dont need to swallow enter events on ungrab cuz we just ignore them all now
2003-09-22 04:23:00 +00:00
Dana Jansens
1b75005e0d
count the EnterNotify events and tell openbox to ignore them when ungrabbing the pointer
2003-09-21 18:09:48 +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
3ce8f83674
grab the pointer on the screen_support_win, causing all mouse events during a grab to not be acted on as if they were on the root window/context
2003-09-16 07:48:55 +00:00
Dana Jansens
fcdcd0fab4
match the func prototypes in the header
2003-09-04 00:02:53 +00:00
Dana Jansens
ed9dc5dc78
use the NONE cursor when not specifying one
2003-09-03 20:34:43 +00:00
Dana Jansens
4d9a46bec0
grab the pointer Async for key grabs, lets key bindings like <execute>xkill</execute> work
2003-08-31 17:32:28 +00:00
Dana Jansens
009685bc46
remove debug print
2003-08-30 07:20:45 +00:00
Dana Jansens
de4f92ccc6
using the ObMainLoop, which rulz the planet
2003-08-30 07:20:16 +00:00
Dana Jansens
62f1473c65
oops buttons not keycodes
2003-08-01 19:36:47 +00:00
Dana Jansens
e3521c2371
if a dock app has a button grabbed already then dont die
2003-08-01 19:34:52 +00:00
Dana Jansens
35418ca0fc
remove the ob_root var, its redundant of what Xlib already provides
2003-07-10 19:01:41 +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
f6b19a1dc4
return true when ungrabbing so that it can ungrab them all on shutdown
2003-06-26 23:33:29 +00:00
Dana Jansens
81cf4699df
set ret to true when grabbing and we alerady have it grabbed
2003-06-26 23:31:20 +00:00
Dana Jansens
d3dd25a55c
return FALSE if a grab fails
2003-06-26 07:58:25 +00:00
Dana Jansens
4b90b241ce
grab all motion events for pointer grabs
2003-06-25 18:34:28 +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
7613d4d8ec
rm debug prints
2003-04-07 22:25:33 +00:00
Dana Jansens
1f775fdd86
grab the other device in Sync for button/key grabs
2003-04-07 03:43:53 +00:00
Dana Jansens
475fb805f2
don't die when someone else has a key grabbed
2003-03-29 00:48:32 +00:00