Commit graph

41 commits

Author SHA1 Message Date
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
568ca95bc2 unused variables 2007-05-27 22:48:40 +00:00
Dana Jansens
e9115802d5 make the client list menu update properly and not crash 2007-05-23 04:08:16 +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
1fa08abd9c um... hide the client menu when the window changes desktops. its not visible anymore (probably..) and no send to menu wont be wrong too. 2007-05-07 23:48:05 +00:00
Dana Jansens
3905872982 merge in r6153-6154 from the 3.4 branch 2007-05-07 22:07:13 +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
004c0d3ccf almost everyone prefers the brackets. so make both menus use them now. maybe [] would be better than ()? i dont know 2007-04-26 05:39:23 +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
Dana Jansens
a8a93d7d39 put the separator back in the spit up client list menu 2007-04-23 02:22:18 +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
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
d3d4aa2987 80 cols 2006-11-15 21:12:06 +00:00
Mikael Magnusson
efa508a2a2 show clients with the skip_taskbar property set in the client_list_menu if they're iconic 2006-09-18 22:03:27 +00:00
Mikael Magnusson
d9f14c1d01 update copyright step 2 2006-08-22 16:44:18 +00:00
Mikael Magnusson
d77c8f62f2 a more proper fix for the client list menu trying to activate a closed client, no difference on end result 2006-08-19 20:34:27 +00:00
Mikael Magnusson
90de822319 i always forget this bit 2004-10-31 10:15:19 +00:00
Mikael Magnusson
10805a4764 config option for icons in desktop menus 2004-10-31 10:10:33 +00:00
Dana Jansens
def76092b5 disable the "Go there" menu entry when its the current desktop 2003-10-27 19:59:11 +00:00
Dana Jansens
de98f8153b skip taskbar windows dont appear in the client menu 2003-10-23 07:28:14 +00:00
Dana Jansens
7833271d14 switch to the desktop after activating the client. this means that for omnipresent windows, you still move to the desktop on which you selected it. 2003-10-11 04:11:29 +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
87541ea377 s/Activate/Go there/ 2003-09-22 05:04:34 +00:00
Dana Jansens
33d4cd8bfd gettextize the empty desktop string 2003-09-22 04:52:54 +00:00
Dana Jansens
4f3cffb847 change Switch To... to Activate... 2003-09-22 04:52:21 +00:00
Dana Jansens
9960ef2ff9 use the new action_run symantics 2003-09-21 16:58:56 +00:00
Dana Jansens
fdd1c3c8a7 add a 'Switch to...' entry to empty desktops in the client-list-menu 2003-09-18 06:17:51 +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
78282959f9 little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case)
remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
2003-09-07 19:03:20 +00:00
Dana Jansens
9102d8a64b remove from desktop_menus when freed 2003-09-03 21:23:45 +00:00
Dana Jansens
7f7378cc2b remove an old plugin call 2003-09-01 07:03:46 +00:00
Dana Jansens
ea2f33e9ee add a separator in the client-list-menus above iconic windows 2003-08-31 19:56:19 +00:00
Dana Jansens
2c6c0757fa make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
2003-08-30 16:58:30 +00:00
Dana Jansens
43fded6a10 fix includes 2003-08-29 08:44:40 +00:00
Dana Jansens
a9567a8163 move the client and client-list menus into the 'kernel' 2003-08-29 07:56:49 +00:00
Renamed from plugins/menu/client_list_menu.c (Browse further)