Commit graph

7125 commits

Author SHA1 Message Date
Dana Jansens
447cf22597 use the valid_focus_target() method for choosing what to show in the client list menus 2010-01-08 14:34:40 -05:00
Dana Jansens
6457a55f8c allow alt-tab etc to move focus to skip_taskbar windows when they are iconic 2010-01-08 14:34:22 -05:00
Dana Jansens
0b3cfc9de5 use obt_xml_* to navigate the xml file (also XML tags are case sensitive) 2010-01-08 14:33:58 -05:00
Dana Jansens
424ea14e81 ignore some added tests 2010-01-08 13:22:09 -05:00
Dana Jansens
3368b91d54 Don't handle input events on prompts if they should be used for a binding/menu instead.
Also, be more careful about making the prompt buttons look pressed, don't make them pressed from a motion notify event if they didnt first handle the press.
2010-01-08 10:45:24 -05:00
Dana Jansens
73575c10ce Merge branch 'backport' into work
Conflicts:

	Makefile.am
	openbox/actions/focus.c
	openbox/config.c
	openbox/event.c
	openbox/menuframe.c
2010-01-08 10:22:30 -05:00
Mikael Magnusson
ab061f5468 Change Usage translation in japanese, this is what gtk uses 2010-01-08 15:22:14 +01:00
Dana Jansens
bafd9e9edc make Home and End keys navigate to top/bottom of the active menu 2010-01-08 09:04:25 -05:00
Dana Jansens
70c074afe8 Use submenuShowDelay when navigating menus with the keyboard 2010-01-08 09:00:00 -05:00
Dana Jansens
f163c46eaf Fix a crash when moving into a menu on top of a separator and nothing is selected 2010-01-06 18:58:27 -05:00
Dana Jansens
f3285a3d0b Improved menu behaviour
Make 'left' key in a menu close it's visible child menu and move to the parent
  properly.
Make clicking on a menu item in a menu close any of its grandchildren and
  remove focus from its children, effectively focusing the menu item you
  clicked on.
2010-01-06 17:30:42 -05:00
Dana Jansens
8ed0970b65 Change the openbox website to openbox.org 2010-01-06 17:13:03 -05:00
Dana Jansens
e65411aa0d add a manpage for obxprop 2010-01-06 17:13:03 -05:00
Dana Jansens
e070a051c6 Add a --root option for obxprop 2010-01-06 17:13:03 -05:00
Dana Jansens
e8588737c9 Allow infinite delay for submenu show/hide by using a negative value. 2010-01-06 17:13:03 -05:00
Dana Jansens
b88cf22bc0 Some fixes for the submenu hide delay code
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-06 17:13:03 -05:00
Alexey Korop
8968b38338 improve submenu hide delay 2010-01-06 17:13:03 -05:00
Dana Jansens
e045227726 Revert "Don't hide submenus immediately when unselecting the parent's entry"
This reverts commit 828c095c8b.
2010-01-05 21:44:39 -05:00
Dana Jansens
15802d87b1 Revert "Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected"
This reverts commit 8ada991d82.
2010-01-05 21:44:39 -05:00
Dana Jansens
775f60852a Revert "A fix for delayed hiding of submenus."
This reverts commit 1fb198410e.
2010-01-05 21:44:39 -05:00
Dana Jansens
c6370aa48a fix a broken if statement (bug #4464) 2010-01-05 21:37:58 -05:00
Dana Jansens
331990a4f2 Make the Focus action stop all interactive actions (Fixes bug #4436)
Old < 3.4.8 Openbox versions would stop focus cycling when focus moved.  Now that is not the case, but you should be able to stop it by Choosing a window explicitly still.
2010-01-04 16:25:13 -05:00
Dana Jansens
4f414ed0f1 Set the XDG_MENU_PREFIX to "kde-" when running an Openbox/KDE session. 2010-01-02 15:49:39 -05:00
Dana Jansens
7cf9f174db reflect the change that parse.c/h was renamed to xml.c/h in the file header comments 2009-12-28 12:24:08 -06:00
Dana Jansens
7ac0b91965 when holding Shift for the client list menus, bring the selected client to the current desktop (Request #4284) 2009-12-22 11:44:07 -05:00
Dana Jansens
ce24cbd045 check more headers before including them 2009-12-21 16:17:48 -05:00
Dana Jansens
b06b684589 rename the obt_parse library to obt_xml (since it is very xml specific) 2009-12-21 14:08:38 -05:00
Dana Jansens
04dc598a1f add obt_parse_save_file() method to the obt parse library 2009-12-21 14:08:38 -05:00
Dana Jansens
7aae8cc526 Set up work for making a 3.5 prerelease.
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-21 14:08:34 -05:00
Dana Jansens
a03b817aeb Merge branch 'backport' into work 2009-12-21 10:43:38 -05:00
Dana Jansens
b7393636e0 make a config option for the inactive osd font 2009-12-21 10:43:30 -05:00
Dana Jansens
cfdbe23e0d Add themeing options for inactive osd labels, osd.inactive.label.*
(rename the current osd label options from osd.label to osd.active.label, similar to the window.(in)?active.label options.
2009-12-21 10:35:06 -05:00
Dana Jansens
6d8b7bd5f7 Rename obprop to obxprop (Fixes bug #4419)
Avoids collision with openbabel.
2009-12-21 09:59:28 -05:00
Dana Jansens
1fb198410e A fix for delayed hiding of submenus.
It fixes this:
(Mikachu) dana: i think his issue was if you have a menu with two
          submenus s1 and s2, open the s1 submenu, then point to s2 and
          go into s1, then after the delay, s1 is hidden despite you
          being inside it still, because s2 was never unselected
2009-12-21 09:51:11 -05:00
Dana Jansens
ad812e6299 Add a focus option, unfocusOnLeave that removes focus from a window when the pointer leaves it
This uses the same delay to unfocus as is used for focusing on enter
2009-12-18 11:40:00 -05:00
Dana Jansens
965ed8907a Merge branch 'backport' into work
Conflicts:

	openbox/screen.c
2009-12-18 11:39:56 -05:00
Dana Jansens
aeac6294a3 Show the desktop popup as long as the interactive desktop switch is active 2009-12-18 11:39:43 -05:00
Dana Jansens
01fd9f99cc Allow delayed focus to work while in a menu or move/resize since it wont kill them now 2009-12-17 16:51:05 -05:00
Dana Jansens
a067628051 Hide the focus popup if we change desktops and one of the windows in it disappears 2009-12-17 16:51:01 -05:00
Dana Jansens
24f6b59fe3 Don't move focus away from a window if it was focused and it didnt hide when switching desktops 2009-12-17 15:40:25 -05:00
Dana Jansens
501943b53d Merge branch 'backport' into work 2009-12-17 10:33:39 -05:00
Dana Jansens
1a34857640 Make the relative desktop switching actions interactive
The desktop popup can now be shown "permanently" in which case it stays until
you tell it to hide.
2009-12-17 10:33:06 -05:00
Dana Jansens
d3347e8be3 Ranges of 0 width cannot intersect (Fixes bug #3717) 2009-12-17 10:24:48 -05:00
Dana Jansens
1b392b5fbe Allow the interactive cancel function to be optional 2009-12-17 10:24:06 -05:00
Dana Jansens
82ac248145 Add some directional focus bindings to the default config file. 2009-12-17 10:24:06 -05:00
Dana Jansens
d18d9c9379 Make it possible for an action name to choose whether it is interactive or not based on its options.
This way we can use the same name with options for an interactive action and a
non-interactive action.

Shorten the names of the ObActionsInteractive* functions to ObActionsI*

Add a ObActionsIPreFunc that is called for interactive actions
before the interactivity (key/mouse grab) is started.

Add a ObActionsIPostFunc that is called for interactive actions
after the interactiviti (key/mouse grab) has ended.
2009-12-17 10:23:49 -05:00
Dana Jansens
3eb941a392 add a test that iconifies a window after a short delay 2009-12-16 16:46:13 -05:00
Dana Jansens
d662573942 Calculate the work area using other already existing and better maintained and trusted code 2009-12-16 16:40:07 -05:00
Dana Jansens
a4b2e3a86e Fix resistance against struts, the resistance was always 0 2009-12-16 16:07:17 -05:00
Dana Jansens
50d6626811 Merge branch 'backport' into work
Conflicts:

	obt/keyboard.c
	obt/keyboard.h
	openbox/event.c
	openbox/menuframe.c
	openbox/moveresize.c
	openbox/openbox.c
	openbox/screen.c
2009-12-16 15:39:25 -05:00