Commit graph

27 commits

Author SHA1 Message Date
Mikael Magnusson
12ca673de5 Add the manageDesktops option. 2008-02-04 02:26:00 +01:00
Mikael Magnusson
2c05d1fb52 Add a few missing includes and remove a stray debug printf. 2008-01-26 18:48:35 +01:00
Mikael Magnusson
0be98fee47 Various fixes for sparse warnings.
Define void functions with (void), not ().
Add missing includes.
Some functions were declared static but defined non-static.
Some variables that should be file static were file global but not used in any other file.
prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
2008-01-16 15:35:25 +01:00
Mikael Magnusson
1492bd0e7d Fix shadowed variables 2007-09-04 06:25:06 +02:00
Dana Jansens
2c50fae347 let you select an omnipresent window on another desktop 2007-08-04 15:24:59 -04:00
Dana Jansens
d519deeb2e let you specify shortcuts in your menus. change & to be _ for shortcut selection 2007-07-10 23:24:14 +00:00
Dana Jansens
c62cf92cb8 add shortcuts to add/remove desktops in the client list menus.
also make it so &-specified shortcuts are always underlined
2007-06-23 19:59:32 +00:00
Dana Jansens
29c4cf4a15 add the activate action. it will replace the focus action, as it can just focus without raising now (or without unshading) 2007-06-22 04:59:06 +00:00
Dana Jansens
fbc7607fbd add the cyclewindows action 2007-06-22 04:37:33 +00:00
Dana Jansens
780d1b0961 well.. it compiles.. 2007-06-22 03:05:02 +00:00
Dana Jansens
a71a98b667 set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use 2007-05-29 03:55:56 +00:00
Mikael Magnusson
5e98d8a452 set alpha based on iconicness in client list menus 2007-05-29 03:32:04 +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
a76e91eb2a update to previous changes 2007-05-09 03:56:39 +00:00
Dana Jansens
e0e1d4ba7e don't show the client menu when its for an invalid window 2007-05-03 20:39:26 +00:00
Mikael Magnusson
e5d6a552a4 also add the go there entry to client list menus if the only windows on a desktop are iconified. hopefully this separator will be okay? 2007-04-27 12:55:59 +00:00
Dana Jansens
9aa42c2ae7 cleanups for keyboard menu shotcuts. dont let & set a shortcut from stuff like menu titles and what not, they are only for strigns oenbox provides. 2007-04-25 02:50:59 +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
Mikael Magnusson
66c350763f unused variable "icons" 2007-04-23 01:36:36 +00:00
Dana Jansens
957963e272 1) get rid of menu titles
2) let separators have labels, when they have a label, then they will appear like a menu title used to

so if you want a menu title, you use a separator in the menu itself at the top

more style work may be needed
2007-04-22 00:36:54 +00:00
Dana Jansens
c80b496bf4 make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.
also this is not tested. sorry if it breaks everything.
2007-03-14 21:07:30 +00:00
Mikael Magnusson
bf247215bb no separator at the start of the menu 2007-03-12 02:12:51 +00:00
Mikael Magnusson
baa4a878cd make the combined client list menu not suck quite as bad 2007-03-12 01:59:49 +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
74c7f786eb SIGH 2007-02-03 15:03:46 +00:00
Mikael Magnusson
9180659154 maybe we should actually run the actions on the menu items when activated, maybe i am crazy but it seems like a good idea 2007-02-03 14:57:34 +00:00
Mikael Magnusson
f43067b772 a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs some layout tuneups 2007-01-30 09:32:17 +00:00