Commit graph

71 commits

Author SHA1 Message Date
Dana Jansens
acf6273feb revert that, center the popups for move/resize and keychains 2007-06-05 16:47:39 +00:00
Dana Jansens
5e9e266722 change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.
this should be less intrusive and seems to work
2007-05-26 22:13:34 +00:00
Dana Jansens
e8dbe09cdd draw the keychain popup only when necessary 2007-05-23 01:42:08 +00:00
Dana Jansens
1efc5111ec revert r6638 2007-05-19 23:15:42 +00:00
Dana Jansens
2f541b6ef3 make either key work for people who have super_l and super_r (or whatever ones) bound to different mod masks 2007-05-19 21:17:01 +00:00
Dana Jansens
b7827484ef ungrab the keyboard for passive grabs. kill interactive actions for exec actions. don't ungrab the keyboard during interactive actions though. 2007-05-14 23:31:41 +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
56d7bc50f0 don't allow focus to move during an interactive grab. if users set up actions
such that this would happen, then kill the interactive grab before moving
focus.
this is to avoid NotifyWhileGrabbed FocusOut's
2007-05-13 15:29:49 +00:00
Dana Jansens
acfa2af3c2 use the right list in client_add_hide_notify, rename destructor to destroy_notify which is really what it is, and is more consistant now that there are 2 notifies 2007-05-13 07:45:15 +00:00
Dana Jansens
d59f0d67b0 interactive actions cancel other interactive actions 2007-05-13 02:19:51 +00:00
Dana Jansens
1c70f6b667 make stuff know it is not focused but changing desktops it still doesn't know 2007-05-10 15:25:01 +00:00
Dana Jansens
a3f8c5c45a button presses which run actions during interactive actions will cancel the action.
when you cancel switching desktops, don't go back, just stop.
2007-05-09 04:08:57 +00:00
Dana Jansens
c54cb4a83c typo... 2007-05-08 23:46:07 +00:00
Dana Jansens
636a676c56 dont ungrab/regrab when the position in the chain didnt move 2007-05-08 23:42:20 +00:00
Dana Jansens
9a9e3f6bf6 woa.. let you do mouse actions while in an interactive keyboard action, and let you do keyboard actions while move/resizing. yay. also you can click in windows at the same time.. 2007-05-05 00:50:53 +00:00
Dana Jansens
32630da2bf make clicks end inetractive actions but not cancel them ! so annoying ! 2007-05-04 17:57:14 +00:00
Dana Jansens
53975abf12 merge r6004 from trunk 2007-05-03 04:32:44 +00:00
Dana Jansens
75c63eece5 end interactive grabs durign reconfigure instead of leaving everything in a hung state. yay! 2007-05-03 04:28:50 +00:00
Dana Jansens
d389e67d22 yeah.. so much for lucky 6000 2007-05-03 04:23:55 +00:00
Dana Jansens
34b89d8f71 don't run 100 actions when doing interactive actions. keep only one interactive action at a time, no need to queue them up. when an action with a different function comes along, end the previous one. if its the same function though, you know it will clean up after itself so no need to save them both and call it twice identically. 2007-05-03 04:21:16 +00:00
Dana Jansens
a6f52b9055 better menu keyboard handling.
also, when you hit a keybinding while menus are open, it will close the menus and run the binding.
2007-05-02 03:10:25 +00:00
Dana Jansens
0da9aa2660 add a slight delay to the focus/desktop switch dialogs. so if you hit the key really fast there is no flicker. of course if you hit it fast but not fast enough there is still flicker. is this cool or does this make it feel bad? i dunno. we'll see..
make the keychain popup use the new delay popup facilities
2007-05-02 00:59:07 +00:00
Dana Jansens
1a300ab372 add the delay for killing keychains back (but it won't kill chroots) 2007-04-26 02:43:43 +00:00
Dana Jansens
b6d2529acb add chrooting. use chroot="true" on the chroot location 2007-04-26 01:25:52 +00:00
Dana Jansens
1ee98f4a47 give the chain popup a 1 second delay before it shows 2007-04-25 20:17:29 +00:00
Dana Jansens
df9b2294db add a popup dialog that shows where you are in a keychain 2007-04-25 20:04:25 +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
Mikael Magnusson
fb2493115f only grab keybinds on the root window, not every client window 2007-04-24 21:45:43 +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
1685e6528d remove debug message 2007-04-22 17:33:37 +00:00
Dana Jansens
27773e1cb7 don't grab the pointer during interactive events. this allows you to alt-tab during a dnd. 2007-04-22 15:22:25 +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
939fbcfd31 add a comparitor to timers. use this in event.c to let you remove timers from the queue selectively for delayed focus 2007-04-22 04:16:00 +00:00
Dana Jansens
19b480058e wow... this is a big commit...
all related to _NET_WM_USER_TIME and focus stealing prevention

a) add launcher startup notification. this means when you run something from
   the openbox menu or a key/mouse binding, that startup notification will go
   on in openbox and other applications like your panel or something
b) add the _NET_WM_USER_TIME property for windows
c) use the _NET_WM_USER_TIME data and startup notification to prevent focus
   stealing.
d) cookie party !! ! all are invited.
e) oh yeah, and pass around timestamps for a lot more things. like, when you
   run an action, send the timestamp for the event that is running the action.
   this is important for startup notification. this also affects menus.
f) yes.. cookies..

would it be a good idea to disable focus stealing prevention if a window takes
too long to load? i mean.. maybe after a certain length of time, a user can't be
expected to not do anything in any other windows, but would they still want the
new application to focus then? HMM. open question i guess..
2007-03-11 04:44:15 +00:00
Mikael Magnusson
4d50b21835 update copyright step 1 2006-08-22 16:37:35 +00:00
Mikael Magnusson
1ffd89672f don't allow inventive users to open the menu while in an interactive grab (ie changing focus or desktop) 2006-08-16 17:38:41 +00:00
Mikael Magnusson
b2b8ad92bf update copyright notices 2004-03-21 11:57:31 +00:00
Mikael Magnusson
335e8acbfc yay no tabs in the source 2004-03-21 01:03:00 +00:00
Mikael Magnusson
134063d850 did anyone use this? 2004-03-20 16:01:22 +00:00
Dana Jansens
055aa5cd74 gracefully handle grabs failing when doing interactive actions 2003-10-11 16:19:17 +00:00
Dana Jansens
f6ba1f27b9 halfway through client changes but...
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
2003-09-28 06:31:00 +00:00
Dana Jansens
2de2678e91 dont end moveresizes for interactive actions 2003-09-26 07:23:56 +00:00
Dana Jansens
e4911d91c8 dont kill interactive actions when the client dies, just remove teh client pointer. 2003-09-24 18:32:05 +00:00
Dana Jansens
087ea0e5cb remove that shti 2003-09-21 17:17:00 +00:00
Dana Jansens
0aa7f70d91 export if an interactive grab is in progress 2003-09-21 17:12:22 +00:00
Dana Jansens
e5908c3f89 use the new action ru system which always runs lists of actions instead of individual ones 2003-09-19 17:41:05 +00:00
Dana Jansens
bdc10887cb provide a way to remove all bindings 2003-09-17 08:11:59 +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
fe2f637e2b when the client for an interactive action is closed, kill the action 2003-09-10 17:21:27 +00:00