summaryrefslogtreecommitdiff
path: root/openbox/menuframe.h
AgeCommit message (Collapse)Author
2014-10-11Pass the GravityPoint as const* instead of by valueMikael Magnusson
2014-10-06Let the menu placement code know if the position was user specifiedMikael Magnusson
This way, it can avoid running the code that moves it to a good position relative to a mouse that isn't there
2014-10-06Resolve gravity coords in menuframe so it can use the widthsMikael Magnusson
2012-09-30Select the menu item under the mouse when the mouse is moved (Fix bug 5237)Dana Jansens
2010-02-11make menu input work with the new obt keyboard stuff.Dana Jansens
create an Input Context for use during keyboard grabs, and use this to translate KeyPress events properly. make the menu respond to KeyPress events, since these are the only ones that can be translated properly, but still execute things from KeyRelease events
2010-02-11make the menu use the new obt stuff when reading keyboard input so it can ↵Dana Jansens
handle input from the non-base group and composed input
2010-01-11Merge branch 'backport' into workDana Jansens
Conflicts: configure.ac data/rc.xml openbox/client.c openbox/event.c openbox/focus_cycle.c openbox/focus_cycle_popup.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c version.h.in
2010-01-08Merge branch 'backport' into workDana Jansens
Conflicts: Makefile.am openbox/actions/focus.c openbox/config.c openbox/event.c openbox/menuframe.c
2010-01-08make Home and End keys navigate to top/bottom of the active menuDana Jansens
2010-01-06Some fixes for the submenu hide delay codeDana Jansens
When nothing in a menu is selected, go back to selecting the open submenu. Adjust the LeaveNotify event handling to only respond when there is not a EnterNotify coming for the same menu frame. Change the default submenu show/hide delays. Have the default values for submenu show/hide match the default rc.xml
2010-01-06improve submenu hide delayAlexey Korop
2010-01-05Revert "Don't hide submenus immediately when unselecting the parent's entry"Dana Jansens
This reverts commit 828c095c8b5a2df96a38faaeb8a0df504e68e70f.
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/*>
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-14Don't hide submenus immediately when unselecting the parent's entryDana Jansens
This allows users to move to the submenu across other menu items (the same as they already could across other menu items that were submenus). This uses the same config delay for hiding submenus as it does for showing new ones. Based off the ideas in bug #3762.
2008-02-15() -> (void) also in .h files, and fix a place that gave arguments when it ↵Mikael Magnusson
shouldn't have.
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-31simplify window.h macros, and rename the window types to ObWindowClass for ↵Dana Jansens
consistent name style
2008-01-27get rid of copying the rrappearances for each menu frame, except for the one ↵Dana Jansens
that is actually useful
2008-01-11don't take KeyRelease events for menus until they receive a KeyPress event ↵Dana Jansens
first. avoid using the key binding used to show the menu to execute something inside it.
2007-06-22add the cyclewindows actionDana Jansens
2007-05-20old unused variableDana Jansens
2007-05-19fix escape's behavior in menus. make static stuff that shouldnt be used by ↵Dana Jansens
others
2007-05-08update the client menu when you do stuff without closing it.Dana Jansens
but this means we can't use actions in it. oh well? can kill the desktop notifiers now too. yay for more obvious code paths.
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-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-25add keyboard shortcuts to the menus. you can specify the shortcut key with & ↵Dana Jansens
even in root menu and stuff
2007-04-22better matching of the menu titles/separators to the themeDana Jansens
2007-04-22give labeled separators bordersDana Jansens
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-25don't menu menus jump around at all anymore. open them on screen in the ↵Dana Jansens
first place
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..
2006-08-22update copyright step 2Mikael Magnusson
2005-09-14fix menus to show on the screen the mouse cursor spawned them fromMikael Magnusson
2003-10-11free menuframes when they fail to show themselvesDana Jansens
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-03track the maximum margin of menu items. use this to keep icons in the menus ↵Dana Jansens
inside the bevel/borders of the menu items
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-31draw menu separatorsDana Jansens
2003-08-30add suppot for showing pixmap masks in menus where the rgba icons go tooDana Jansens
2003-08-29ultra-keyboard-controlled-menusDana Jansens
2003-08-28make client-list-menu work tooDana Jansens
more menu cleanups
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.