Commit graph

6859 commits

Author SHA1 Message Date
Laszlo Dvornik
374888f5e9 Update hungarian translation. 2010-01-14 21:09:17 +01:00
Dana Jansens
7e6b2eaef7 Prefer to use larger images and scale down than to scale up (more distortion) 2010-01-14 15:03:06 -05:00
Dana Jansens
ba747518bb don't resize the label to 0 2010-01-14 14:57:18 -05:00
Dana Jansens
62e36ad041 Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script 2010-01-12 14:29:23 -05:00
Dana Jansens
e8200ae603 make focus cycle target fallback work right by going to the next prev window 2010-01-11 15:37:50 -05:00
Dana Jansens
bd864012cd Make the focus cycle indicator follow target fallback in the popup 2010-01-11 15:35:47 -05:00
Dana Jansens
14180a6b0d More work on refreshing the focus cycle dialog when windows are added/removed from the valid focus order 2010-01-11 15:13:55 -05:00
Dana Jansens
358056b102 When a user id is specified, or --root, use the ID directly, don't try find a client child of it 2010-01-11 13:43:25 -05:00
Dana Jansens
91af4d5bc9 Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Add _OB_VERSION property on the root window.
Change _OB_ROLE/CLASS/NAME to _OB_APP_*.
Add _OB_APP_TYPE which has a string for the type chosen for the window on
  mapping by Openbox.
Adjust the rc.xml to match these changes.
2010-01-11 13:42:50 -05:00
Dana Jansens
b8e994e837 Reuse ObFocusCyclePopupTargets when refreshing the focus cycle dialog 2010-01-11 13:12:09 -05:00
Dana Jansens
12653a4153 Redraw the focus cycle popup when the list of focusable windows changes, rather than closing it 2010-01-11 12:47:59 -05:00
Dana Jansens
d3a01a40f3 If a window is added to the focus order while focus cycling, stop the focus cycling istead of crashing (See bug #4411) 2010-01-11 11:04:27 -05:00
Einars Sprugis
9cf5903e16 Update latvian translation. 2010-01-10 22:23:20 +01:00
Laszlo Dvornik
d25398c4c8 Update hungarian translation. 2010-01-08 22:40:40 +01:00
Mikael Magnusson
4c544102c3 Pass NULL, not 0, handle invalid --id better. 2010-01-08 21:51:35 +01:00
Mikael Magnusson
54c841f7b5 obxprop: Add ability to limit listing to given properties 2010-01-08 21:51:04 +01:00
Mikael Magnusson
2b0dfb81cf Fix the ~ expansion regex
The look-around things are fixed-width but the [stuff] is 1 char, and
the $ is 0 so it didn't work.  I already used that trick for the ^,
maybe it used to work due to a bug or smth.
2010-01-08 21:07:05 +01: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
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
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
d3347e8be3 Ranges of 0 width cannot intersect (Fixes bug #3717) 2009-12-17 10:24:48 -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
8ada991d82 Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected 2009-12-16 15:37:28 -05:00
Dana Jansens
811e3ddbc3 Ignore enter events caused by closing openbox menus 2009-12-16 15:37:26 -05:00
Dana Jansens
7c4753ac91 Comment out some debug messages for the image cache 2009-12-15 16:03:35 -05:00
Dana Jansens
3c688bc4a7 Make the NET_WORKAREA hint work the way it used to, across all monitors
The spec is not going to change this hint, but rather add a new one. So for now
just revert to the old behaviour.
2009-12-15 14:53:29 -05:00
Dana Jansens
828c095c8b Don't hide submenus immediately when unselecting the parent's entry
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.
2009-12-14 18:18:10 -05:00
Dana Jansens
111465b737 Let menus place themselves on monitors where the mouse is not present
This fixes a bug which forced menus to show up on the same monitor as the
mouse pointer.
2009-12-14 16:08:30 -05:00
Dana Jansens
d55f4b41c6 Allow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize
If the user has escape bound to more than one keycode then they can use any of
them to close a menu.  This change applies to the hardcoded keys in openbox,
which are used for the menus and for move/resize, and maybe other places.
2009-12-14 15:40:33 -05:00
Dana Jansens
f3e553446f Add an obprop tool which can print UTF-8 strings properly, for our users. 2009-12-14 15:25:31 -05:00