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
Dana Jansens
5fc18091be
In the applications section tell the user to use _OB_* properties for the name/class/role, and refer to the still-non-existant obprop tool.
2009-12-14 11:27:50 -05:00
Dana Jansens
9ba2b04e96
Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our users.
...
The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
2009-12-11 18:58:39 -05:00
Dana Jansens
5c01dc651a
Get the session client id from new gnome-session
...
See http://live.gnome.org/SessionManagement/GnomeSession#A1._Launch
Gnome-session sets the DESKTOP_AUTOSTART_ID env variable with the SM client id
instead of passing it on the command line.
2009-12-10 15:00:56 -05:00
Dana Jansens
7e6ef2683f
Run Openbox with gnome-session the proper way, without using the deprecated gnome-wm.
...
See https://bugzilla.gnome.org/show_bug.cgi?id=555406#c5
Hopefully this continues to work for a while.
2009-12-10 11:47:12 -05:00
Dana Jansens
231f694bca
Make sure popup dialogs are not waiting to be shown after they are freed
2009-12-10 10:36:19 -05:00
Dana Jansens
c5155e7422
Add an openbox.desktop file for the applications/ directory
...
This is for gnome-session to start Openbox correctly as the window manager
See the commit log for http://cvs.fedoraproject.org/viewvc/devel/openbox/openbox.desktop?revision=1.3&view=markup
2009-12-10 10:27:54 -05:00
Dana Jansens
d17bc61b24
Don't need 2 exit actions in the default menu now, they both would do the same thing
2009-12-10 10:10:03 -05:00
Dana Jansens
f0df9bb9d8
Remove desktop hints since Openbox won't overwrite them, but they may be set from GDM or other sessions
2009-12-10 10:07:50 -05:00
Miroslav Lichvar
7abc28bdda
Fix a typo in xdg-autostart
2009-12-10 09:42:41 -05:00
Dana Jansens
81eb4752fe
Make the desktop popup show on the primary monitor as defined in the config.
...
This matches the behaviour of the focus cycle and key chain popups.
2009-12-09 17:06:55 -05:00
Dana Jansens
5f2182c33b
Revert "Show desktop switch popup on every monitor"
...
This reverts commit 2e1adce628
.
2009-12-09 17:03:37 -05:00
Dana Jansens
d3976a51fb
Revert "Some fixes for the pager popups, and avoid a crash if you destroy a popup while it is going to be shown later by a delay."
...
This reverts commit 33328583a1
.
2009-12-09 17:03:27 -05:00
Dana Jansens
aa329719b9
Add a primaryMonitor config option, where the focus-cycle and keychain popups will appear
2009-12-09 16:41:52 -05:00
Dana Jansens
10d99cc5e9
Bug in choosing the active monitor when doing a move/resize
2009-12-09 16:39:58 -05:00
Dana Jansens
ade3b4dd69
Make the edge detection fully include monitor edges.
...
This fixes the move-to-edge behaviour, when moving past the edge of a monitor,
the window will stop with its tail edge against the inside of the monitor's
edge.
2009-12-09 16:00:32 -05:00
Dana Jansens
e0015160f0
Make the default placement on the active monitor (Any is madness)
2009-12-09 15:41:28 -05:00
Dana Jansens
7a926bb82f
Find a valid image to use in the image cache. Fixes bug #1149
...
The larger of the width and height has to match. If the smaller matches, then
it would have to be resized down to fit inside the area, so that does not
count.
2009-12-09 15:09:22 -05:00
Dana Jansens
543828c23f
Properly react when a client's strut changes.
...
Previously it would only react if the height of the strut changed, not if its
start/end changed (that was a long-standing bug).
2009-12-09 15:09:15 -05:00
Dana Jansens
437739b6a3
Fix for rendering RGBA and Image textures.
...
RGBA and Image textures could exceed their tarea if given an x or y offset
inside the area that is > 0.
2009-12-09 15:08:30 -05:00
Dana Jansens
324ba15ebc
Fix the Focus/Activate actions to focus windows on other desktops correctly
2009-12-09 13:25:19 -05:00
Dana Jansens
9f74f1e244
When moving focus across desktops, make sure Openbox doesn't think that a window which is no longer visible is still focused.
2009-12-09 13:24:12 -05:00
Dana Jansens
d7d54e9b89
The colormap is being set twice when moving focus to the root window
2009-12-09 13:24:08 -05:00
Dana Jansens
5b20b3fc7f
Add a focus debug message for the frame's visible focus state
2009-12-09 13:24:04 -05:00