summaryrefslogtreecommitdiff
path: root/openbox/menu.h
AgeCommit message (Collapse)Author
2014-10-06Resolve gravity coords in menuframe so it can use the widthsMikael Magnusson
2012-09-30add menu_sort_entries() which sorts all entries in an ObMenuDana Jansens
this function sorts each group of entries that appear together between two consecutive separators (or ends of the list)
2011-08-01Allow setting icons for submenusMikael Magnusson
2010-05-11add cleanup function for menus that fires when the menu is no longer visibleDana Jansens
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2008-02-15() -> (void) also in .h files, and fix a place that gave arguments when it ↵Mikael Magnusson
shouldn't have.
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-01-20move the xdg path stuff into obt/paths.[ch], and make render and openbox use itDana Jansens
2008-01-20update openbox to use the current parser interface in libobtDana Jansens
there is also some random bug fixes for other libobt stuff in here.
2007-07-10let you specify shortcuts in your menus. change & to be _ for shortcut selectionDana Jansens
2007-06-23add shortcuts to add/remove desktops in the client list menus.Dana Jansens
also make it so &-specified shortcuts are always underlined
2007-06-23action.h not needed hereDana Jansens
2007-06-22add the cyclewindows actionDana Jansens
2007-06-22add the showmenu actionDana Jansens
2007-06-22well.. it compiles..Dana Jansens
2007-06-10cache pipe menus until the menus closeDana Jansens
2007-06-02do the menu_can_hide thing properly. was such a hack before? and the ↵Dana Jansens
variable was getting set from all kinds of events like motion notify. totally not reliable. now it works all nice.
2007-05-29add the rgba alpha to the menu entriesDana Jansens
2007-05-09compile fixDana Jansens
2007-05-09fix no more crashing in the client menu.Dana Jansens
2007-05-07add a notifier for clients changing desktops. use it to update the send-to ↵Dana Jansens
menu if it changes. it does this by closing/opening the menu.. thats about the best we can do tho with this menu code without huge changes
2007-05-07merge in r6153-6154 from the 3.4 branchDana Jansens
2007-05-05changes to the client menu, which entries are there, and reorganizing, and ↵Dana Jansens
renaming. let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries. add the all desktops button picture to "All desktops" in the client menu update the themes for the new element, and some changes to make things more readable-better contrast. CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :( yeah.. i think that is everything?
2007-05-03don't show the client menu when its for an invalid windowDana Jansens
2007-04-26place the client menu at the top left of the window when opening it with a ↵Dana Jansens
key binding. change how the first menus are placed. place them like other people place menus. maybe this is good, maybe it is bad, we will see..
2007-04-25cleanups for keyboard menu shotcuts. dont let & set a shortcut from stuff ↵Dana Jansens
like menu titles and what not, they are only for strigns oenbox provides.
2007-04-25add keyboard shortcuts to the menus. you can specify the shortcut key with & ↵Dana Jansens
even in root menu and stuff
2007-04-221) get rid of menu titlesDana Jansens
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-03-18use const char*'s when we should beDana Jansens
2007-03-11wow... this is a big commit...Dana Jansens
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..
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-07little bit of an actions overhaul, added action_run* so that duplicated code ↵Dana Jansens
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-04when a pipe menu is killed, kill all its submenus as wellDana Jansens
2003-09-03add a reconfigure action, also reconfigure on SIGUSR2.Dana Jansens
support reconfiguring throughout the entire codebase.
2003-09-02use new menu.bullet.selected.imageColor. use the text colors for the menu ↵Dana Jansens
mask icons instead of teh bullet color, and set it based on selected/disabled/normal like the text.
2003-08-30add suppot for showing pixmap masks in menus where the rgba icons go tooDana Jansens
2003-08-30add pipe-menusDana Jansens
2003-08-29remove plugins from the menu parsingDana Jansens
2003-08-28new method for loading menu files etcDana Jansens
2003-08-28fix for using freed memory to exec stuffDana Jansens
2003-08-28add icons to the client-list-menuDana Jansens
2003-08-28make submenus not require the menu to exist when they are created, not until ↵Dana Jansens
they are shown. crash fix in client_menu
2003-08-28make client-list-menu work tooDana Jansens
more menu cleanups
2003-08-28load menu plugins automatically from whats in the menu fileDana Jansens
menu fixups move enabled into the 'normal menu item' specific data stuff
2003-08-28change the menu plugin interface, no need for the create/destroy functions ↵Dana Jansens
any more. redo the client-menu plugin to work with the new menu api
2003-08-28half way through the changes to new menu code/design. hot shit. static menus ↵Dana Jansens
work, on to plugins next.
2003-08-14add a menu destructor callback.Dana Jansens
fix a possible crasher where a callback was called with a different menu.
2003-08-12adjust for changes to the parsing api.Dana Jansens
split the menu into its own file.
2003-08-12move the keyboard and mouse plugins into the kernel for mucho sexiness.Dana Jansens
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all. this is some hot shit.