]>
Dogcows Code - chaz/openbox/log
Dana Jansens [Mon, 21 Dec 2009 17:59:17 +0000 (12:59 -0500)]
add obt_parse_save_file() method to the obt parse library
Dana Jansens [Mon, 21 Dec 2009 15:53:41 +0000 (10:53 -0500)]
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/*>
Dana Jansens [Mon, 21 Dec 2009 15:43:38 +0000 (10:43 -0500)]
Merge branch 'backport' into work
Dana Jansens [Mon, 21 Dec 2009 15:42:58 +0000 (10:42 -0500)]
make a config option for the inactive osd font
Dana Jansens [Mon, 21 Dec 2009 15:35:06 +0000 (10:35 -0500)]
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.
Dana Jansens [Mon, 21 Dec 2009 14:59:28 +0000 (09:59 -0500)]
Rename obprop to obxprop (Fixes bug #4419)
Avoids collision with openbabel.
Dana Jansens [Mon, 21 Dec 2009 14:51:11 +0000 (09:51 -0500)]
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
Dana Jansens [Thu, 17 Dec 2009 21:20:03 +0000 (16:20 -0500)]
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
Dana Jansens [Fri, 18 Dec 2009 16:39:56 +0000 (11:39 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/screen.c
Dana Jansens [Thu, 17 Dec 2009 19:07:05 +0000 (14:07 -0500)]
Show the desktop popup as long as the interactive desktop switch is active
Dana Jansens [Thu, 17 Dec 2009 21:03:20 +0000 (16:03 -0500)]
Allow delayed focus to work while in a menu or move/resize since it wont kill them now
Dana Jansens [Thu, 17 Dec 2009 20:43:46 +0000 (15:43 -0500)]
Hide the focus popup if we change desktops and one of the windows in it disappears
Dana Jansens [Thu, 17 Dec 2009 20:40:25 +0000 (15:40 -0500)]
Don't move focus away from a window if it was focused and it didnt hide when switching desktops
Dana Jansens [Thu, 17 Dec 2009 15:33:39 +0000 (10:33 -0500)]
Merge branch 'backport' into work
Dana Jansens [Wed, 16 Dec 2009 20:17:08 +0000 (15:17 -0500)]
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.
Dana Jansens [Thu, 17 Dec 2009 15:22:05 +0000 (10:22 -0500)]
Ranges of 0 width cannot intersect (Fixes bug #3717)
Dana Jansens [Wed, 16 Dec 2009 19:41:49 +0000 (14:41 -0500)]
Allow the interactive cancel function to be optional
Dana Jansens [Wed, 16 Dec 2009 19:00:01 +0000 (14:00 -0500)]
Add some directional focus bindings to the default config file.
Dana Jansens [Thu, 17 Dec 2009 15:23:48 +0000 (10:23 -0500)]
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.
Dana Jansens [Wed, 16 Dec 2009 21:46:13 +0000 (16:46 -0500)]
add a test that iconifies a window after a short delay
Dana Jansens [Wed, 16 Dec 2009 21:40:07 +0000 (16:40 -0500)]
Calculate the work area using other already existing and better maintained and trusted code
Dana Jansens [Wed, 16 Dec 2009 21:05:56 +0000 (16:05 -0500)]
Fix resistance against struts, the resistance was always 0
Dana Jansens [Wed, 16 Dec 2009 20:39:25 +0000 (15:39 -0500)]
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
Dana Jansens [Wed, 16 Dec 2009 20:32:51 +0000 (15:32 -0500)]
Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected
Dana Jansens [Wed, 16 Dec 2009 15:43:22 +0000 (10:43 -0500)]
Ignore enter events caused by closing openbox menus
Dana Jansens [Tue, 15 Dec 2009 21:03:35 +0000 (16:03 -0500)]
Comment out some debug messages for the image cache
Dana Jansens [Tue, 15 Dec 2009 19:53:29 +0000 (14:53 -0500)]
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.
Dana Jansens [Mon, 14 Dec 2009 23:18:10 +0000 (18:18 -0500)]
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.
Dana Jansens [Mon, 14 Dec 2009 21:08:30 +0000 (16:08 -0500)]
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.
Dana Jansens [Mon, 14 Dec 2009 20:40:09 +0000 (15:40 -0500)]
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.
Dana Jansens [Mon, 14 Dec 2009 20:25:57 +0000 (15:25 -0500)]
Merge branch 'backport' into work
Dana Jansens [Mon, 14 Dec 2009 20:07:20 +0000 (15:07 -0500)]
Add an obprop tool which can print UTF-8 strings properly, for our users.
Dana Jansens [Mon, 14 Dec 2009 16:27:50 +0000 (11:27 -0500)]
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.
Dana Jansens [Sat, 12 Dec 2009 00:02:11 +0000 (19:02 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/config.c
openbox/event.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
openbox/screen.h
Dana Jansens [Fri, 11 Dec 2009 23:27:46 +0000 (18:27 -0500)]
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.
Dana Jansens [Thu, 10 Dec 2009 20:00:56 +0000 (15:00 -0500)]
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.
Dana Jansens [Thu, 10 Dec 2009 16:44:28 +0000 (11:44 -0500)]
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.
Dana Jansens [Thu, 10 Dec 2009 15:36:19 +0000 (10:36 -0500)]
Make sure popup dialogs are not waiting to be shown after they are freed
Dana Jansens [Thu, 10 Dec 2009 15:27:54 +0000 (10:27 -0500)]
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
Dana Jansens [Thu, 10 Dec 2009 15:10:03 +0000 (10:10 -0500)]
Don't need 2 exit actions in the default menu now, they both would do the same thing
Dana Jansens [Thu, 10 Dec 2009 15:07:50 +0000 (10:07 -0500)]
Remove desktop hints since Openbox won't overwrite them, but they may be set from GDM or other sessions
Miroslav Lichvar [Thu, 10 Dec 2009 14:40:20 +0000 (09:40 -0500)]
Fix a typo in xdg-autostart
Dana Jansens [Wed, 9 Dec 2009 22:03:51 +0000 (17:03 -0500)]
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.
Dana Jansens [Wed, 9 Dec 2009 22:03:37 +0000 (17:03 -0500)]
Revert "Show desktop switch popup on every monitor"
This reverts commit
2e1adce628ee3234accc5d88cafb57672800cae0 .
Dana Jansens [Wed, 9 Dec 2009 22:03:27 +0000 (17:03 -0500)]
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
33328583a143677d27eb3d081ce66532c3aaca1c .
Dana Jansens [Wed, 9 Dec 2009 21:41:52 +0000 (16:41 -0500)]
Add a primaryMonitor config option, where the focus-cycle and keychain popups will appear
Dana Jansens [Wed, 9 Dec 2009 21:26:15 +0000 (16:26 -0500)]
Bug in choosing the active monitor when doing a move/resize
Dana Jansens [Wed, 9 Dec 2009 21:00:32 +0000 (16:00 -0500)]
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.
Dana Jansens [Wed, 9 Dec 2009 20:41:28 +0000 (15:41 -0500)]
Make the default placement on the active monitor (Any is madness)
Dana Jansens [Wed, 9 Dec 2009 19:59:18 +0000 (14:59 -0500)]
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.
Dana Jansens [Wed, 9 Dec 2009 19:00:51 +0000 (14:00 -0500)]
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).
Dana Jansens [Wed, 9 Dec 2009 18:47:38 +0000 (13:47 -0500)]
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.
Dana Jansens [Wed, 9 Dec 2009 18:25:19 +0000 (13:25 -0500)]
Fix the Focus/Activate actions to focus windows on other desktops correctly
Dana Jansens [Wed, 9 Dec 2009 18:23:18 +0000 (13:23 -0500)]
When moving focus across desktops, make sure Openbox doesn't think that a window which is no longer visible is still focused.
Dana Jansens [Wed, 9 Dec 2009 18:23:03 +0000 (13:23 -0500)]
The colormap is being set twice when moving focus to the root window
Dana Jansens [Wed, 9 Dec 2009 18:22:37 +0000 (13:22 -0500)]
Add a focus debug message for the frame's visible focus state
Dana Jansens [Wed, 9 Dec 2009 16:24:16 +0000 (11:24 -0500)]
Fully maximized windows still have a normal titlebar. Fixes bug #4373
Also, maximized windows were having their client padding reduced by the size of
the outer border from this same bug, which is now fixed.
Dana Jansens [Wed, 9 Dec 2009 16:02:44 +0000 (11:02 -0500)]
Add a WM_CLASS to the skiptaskbar test
Dana Jansens [Wed, 9 Dec 2009 15:56:43 +0000 (10:56 -0500)]
Allow skip_taskbar windows to be focused on map when the user requests it in rc.xml. Fixes bug #4350
Dana Jansens [Wed, 9 Dec 2009 15:32:36 +0000 (10:32 -0500)]
Set a minimum value for the screenEdgeWarpTime for 25ms.
When this is very small it just gives X/Openbox a heart attack and ends up going forever. Even 25 is quite too fast to be usuable so it should be a good minimum.
Dana Jansens [Wed, 9 Dec 2009 15:23:00 +0000 (10:23 -0500)]
Use test -r instead of test -e for solaris. Fixes bug #4253.
Dana Jansens [Wed, 9 Dec 2009 15:09:43 +0000 (10:09 -0500)]
Fix stacking for transients vs helper windows. Fixes bug #3851
This allows transient windows to be above helper windows. And generally keeps
helper windows below transients, unless they are raised directly.
Dana Jansens [Tue, 8 Dec 2009 20:18:57 +0000 (15:18 -0500)]
Make openbox-gnome-session work with gnome-session > 2.22
Dana Jansens [Tue, 8 Dec 2009 19:21:26 +0000 (14:21 -0500)]
Follow up for commit
7f36e21ea9d86df5e6fa62d2888891ed957c4639
The actions/session.c file was removed.
Dana Jansens [Tue, 8 Dec 2009 19:19:04 +0000 (14:19 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/actions/all.h
openbox/actions/session.c
openbox/client.c
openbox/event.c
openbox/grab.c
Dana Jansens [Tue, 8 Dec 2009 19:16:08 +0000 (14:16 -0500)]
Don't hilite new windows when we're restoring them from a saved session.
Dana Jansens [Tue, 8 Dec 2009 16:32:40 +0000 (11:32 -0500)]
Fix client_activate() to work for internal Openbox menus
client_activate() is a helpful way to focus a window on another desktop,
but only Openbox is allowed to do such things, user messages cannot.
Dana Jansens [Tue, 8 Dec 2009 16:21:45 +0000 (11:21 -0500)]
Don't kill keygrabs when focus moves.
Applications should be better behaved by now, and GTK based apps seem to be
at least. We can file bug reports with them if we need to still.
Dana Jansens [Tue, 8 Dec 2009 16:11:41 +0000 (11:11 -0500)]
Change _net_active_window behaviour.
Move focus on _net_active_window "app" requests if focus stealing would be
allowed. If focus is not given to the target window and it is hilited (or
any other situation where it is hilited) and the window is on another desktop,
then also raise it and make it the LRU window, so when you switch desktops
you go right to it.
Dana Jansens [Tue, 8 Dec 2009 15:11:21 +0000 (10:11 -0500)]
Add needed linebreaks to the end of some debug messages
Dana Jansens [Wed, 25 Nov 2009 00:51:00 +0000 (19:51 -0500)]
strip leading/trailing whitespace off stuff when reading it from the configs
Dana Jansens [Wed, 25 Nov 2009 00:36:18 +0000 (19:36 -0500)]
Combine the Exit and SessionLogout actions
Just "do the right thing" based on if you are connected to a session manager
or not.
Dana Jansens [Sat, 21 Nov 2009 21:56:07 +0000 (16:56 -0500)]
Merge branch 'backport' into work
Conflicts:
openbox/popup.c
Dana Jansens [Sat, 21 Nov 2009 21:43:00 +0000 (16:43 -0500)]
Don't ever give borders to windows that didnt have them before by making them "undecorated" with the keepborder config option on.
This fixes what commit
85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the
fullscreen window case, but also fixes bug #4344.
Dana Jansens [Sat, 21 Nov 2009 21:33:35 +0000 (16:33 -0500)]
Add a comment for commit
ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts with multiple monitors.
Dana Jansens [Sat, 21 Nov 2009 21:05:27 +0000 (16:05 -0500)]
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.
Dana Jansens [Sat, 21 Nov 2009 20:17:18 +0000 (15:17 -0500)]
Fix an unsigned/signed warning.
Dana Jansens [Sat, 21 Nov 2009 20:16:37 +0000 (15:16 -0500)]
Fix some signed/unsigned warnings (and keep stuff within 80 columns).
Dana Jansens [Sat, 21 Nov 2009 20:12:40 +0000 (15:12 -0500)]
Keep things in 80 columns
Dana Jansens [Sat, 21 Nov 2009 19:29:45 +0000 (14:29 -0500)]
Pointers are long-sized on x86_64.
Dana Jansens [Sat, 21 Nov 2009 19:20:39 +0000 (14:20 -0500)]
Dana Jansens [Sat, 21 Nov 2009 19:39:26 +0000 (14:39 -0500)]
Add a test that grows a window by changing its normal hints.
Dana Jansens [Sat, 21 Nov 2009 19:17:02 +0000 (14:17 -0500)]
Revert "Revert "make windows stay on screen when..."
Just kidding. This doesn't revert
d81d54c7a977a034199f24fc8fa7433e634aaf91 but
it redoes the work that patch reverted in a better, less intrusive, way.
Dana Jansens [Sat, 21 Nov 2009 18:34:33 +0000 (13:34 -0500)]
Mikael Magnusson [Thu, 5 Nov 2009 21:29:38 +0000 (22:29 +0100)]
Make clang happier
Add asserts to default: in switch statements
Store pointed to variables locally so it knows they don't change
Remove some dead assignments
Mark ob_exit_with_error as noreturn
Use "%s", msg instead of just msg to printf style functions
Use the c_pfocus variable
Dana Jansens [Sat, 7 Nov 2009 02:02:23 +0000 (21:02 -0500)]
Merge branch 'backport' into work
Dana Jansens [Sat, 7 Nov 2009 02:02:09 +0000 (21:02 -0500)]
fix a crash in the SessionLogout action
Mikael Magnusson [Sun, 20 Sep 2009 13:50:13 +0000 (15:50 +0200)]
Merge branch 'backport' into work
Piotr Lewandowski [Sun, 20 Sep 2009 13:40:38 +0000 (15:40 +0200)]
Respect $XDG_CONFIG_HOME in openbox-session
Mikael Magnusson [Sun, 20 Sep 2009 13:37:54 +0000 (15:37 +0200)]
Reload motif wm hints when property changes
Google's chrome does this when you toggle window decorations.
Based on patch in #4250 by Daniel Erat.
Mikael Magnusson [Sat, 19 Sep 2009 13:57:20 +0000 (15:57 +0200)]
Add all the action names used in 3.4 so configs don't break
Mikael Magnusson [Sun, 5 Jul 2009 20:27:25 +0000 (22:27 +0200)]
Merge branch 'backport' into work
Conflicts:
openbox/actions/desktop.c
openbox/client.c
openbox/event.c
openbox/extensions.c
openbox/popup.c
openbox/screen.c
parser/parse.c
František Eliáš [Thu, 16 Jul 2009 19:08:05 +0000 (21:08 +0200)]
Update slovak translation.
Krzysztof Kotlenga [Sun, 7 Jun 2009 22:35:49 +0000 (00:35 +0200)]
Remove newline from startupnotify description
It doesn't look good in some places, e.g. WnckTasklist (gnome-panel)
[ Also update translations -- Mikael ]
Mikael Magnusson [Sun, 5 Jul 2009 18:51:04 +0000 (20:51 +0200)]
Don't replace ~ when we shouldn't
Bump glib req to 2.14 to get GRegex, now we only replace ~ with your
homedir in an action if it is (at the start of the string or preceded
by whitespace) and (at the end of the string or followed by (whitespace
or a slash)). (?:^|(?<=[ \t]))~(?=[/ \t$])
Fixes bug #4033.
Mikael Magnusson [Sun, 5 Jul 2009 14:21:28 +0000 (16:21 +0200)]
Another debug message typo
Mikael Magnusson [Sun, 5 Jul 2009 13:53:29 +0000 (15:53 +0200)]
Allow escaping _ in menu labels by putting __
Currently you can't mark anything that comes after the __ with _ to make
that a shortcut.
Mikael Magnusson [Sun, 5 Jul 2009 12:24:14 +0000 (14:24 +0200)]
Don't trust xinerama not to return NULL
We check that xinerama is active already, but someone got a NULL here.
Serhiy Lysovenko [Sun, 5 Jul 2009 12:04:44 +0000 (14:04 +0200)]
Update ukrainian translation and rename to uk.po
Henning Bekel [Sun, 5 Jul 2009 11:38:25 +0000 (13:38 +0200)]
Don't draw borders in fullscreen mode when keepBorder is on
This page took 0.05746 seconds and 4 git commands to generate.