12 years agoadd a manpage for obxprop
Dana Jansens [Wed, 6 Jan 2010 18:39:02 +0000 (13:39 -0500)]
add a manpage for obxprop

12 years agoAdd a --root option for obxprop
Dana Jansens [Wed, 6 Jan 2010 18:24:41 +0000 (13:24 -0500)]
Add a --root option for obxprop

12 years agoAllow infinite delay for submenu show/hide by using a negative value.
Dana Jansens [Mon, 4 Jan 2010 20:26:10 +0000 (15:26 -0500)]
Allow infinite delay for submenu show/hide by using a negative value.

12 years agoSome fixes for the submenu hide delay code
Dana Jansens [Mon, 4 Jan 2010 20:07:10 +0000 (15:07 -0500)]
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

12 years agoimprove submenu hide delay
Alexey Korop [Mon, 4 Jan 2010 18:21:12 +0000 (13:21 -0500)]
improve submenu hide delay

12 years agoRevert "Don't hide submenus immediately when unselecting the parent's entry"
Dana Jansens [Tue, 22 Dec 2009 14:31:50 +0000 (09:31 -0500)]
Revert "Don't hide submenus immediately when unselecting the parent's entry"

This reverts commit 828c095c8b5a2df96a38faaeb8a0df504e68e70f.

12 years agoRevert "Fix the delayed hiding of submenus, so that they don't end up hidden while...
Dana Jansens [Tue, 22 Dec 2009 14:31:38 +0000 (09:31 -0500)]
Revert "Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected"

This reverts commit 8ada991d829671ab5e6dd4c5526b6a0238ba6a16.

12 years agoRevert "A fix for delayed hiding of submenus."
Dana Jansens [Tue, 22 Dec 2009 14:31:24 +0000 (09:31 -0500)]
Revert "A fix for delayed hiding of submenus."

This reverts commit 1fb198410e9d3ca660d91d1049249db0f2f47732.

12 years agofix a broken if statement (bug #4464)
Dana Jansens [Wed, 6 Jan 2010 02:37:58 +0000 (21:37 -0500)]
fix a broken if statement (bug #4464)

12 years agoMake the Focus action stop all interactive actions (Fixes bug #4436)
Dana Jansens [Mon, 4 Jan 2010 21:25:13 +0000 (16:25 -0500)]
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.

12 years agoRename obprop to obxprop (Fixes bug #4419)
Dana Jansens [Mon, 21 Dec 2009 14:59:28 +0000 (09:59 -0500)]
Rename obprop to obxprop (Fixes bug #4419)

Avoids collision with openbabel.

12 years agoA fix for delayed hiding of submenus.
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

12 years agoAllow delayed focus to work while in a menu or move/resize since it wont kill them now
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

12 years agoHide the focus popup if we change desktops and one of the windows in it disappears
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

12 years agoDon't move focus away from a window if it was focused and it didnt hide when switchin...
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

12 years agoRanges of 0 width cannot intersect (Fixes bug #3717)
Dana Jansens [Thu, 17 Dec 2009 15:22:05 +0000 (10:22 -0500)]
Ranges of 0 width cannot intersect (Fixes bug #3717)

12 years agoadd a test that iconifies a window after a short delay
Dana Jansens [Wed, 16 Dec 2009 21:46:13 +0000 (16:46 -0500)]
add a test that iconifies a window after a short delay

12 years agoCalculate the work area using other already existing and better maintained and truste...
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

12 years agoFix resistance against struts, the resistance was always 0
Dana Jansens [Wed, 16 Dec 2009 21:05:56 +0000 (16:05 -0500)]
Fix resistance against struts, the resistance was always 0

12 years agoFix the delayed hiding of submenus, so that they don't end up hidden while the entry...
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

12 years agoIgnore enter events caused by closing openbox menus
Dana Jansens [Wed, 16 Dec 2009 15:43:22 +0000 (10:43 -0500)]
Ignore enter events caused by closing openbox menus

12 years agoComment out some debug messages for the image cache
Dana Jansens [Tue, 15 Dec 2009 21:03:35 +0000 (16:03 -0500)]
Comment out some debug messages for the image cache

12 years agoMake the NET_WORKAREA hint work the way it used to, across all monitors
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.

12 years agoDon't hide submenus immediately when unselecting the parent's entry
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.

12 years agoLet menus place themselves on monitors where the mouse is not present
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.

12 years agoAllow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize
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.

12 years agoAdd an obprop tool which can print UTF-8 strings properly, for our users.
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.

12 years agoIn the applications section tell the user to use _OB_* properties for the name/class...
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.

12 years agoSet hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our users.
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.

12 years agoGet the session client id from new gnome-session
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.

12 years agoRun Openbox with gnome-session the proper way, without using the deprecated gnome-wm.
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.

12 years agoMake sure popup dialogs are not waiting to be shown after they are freed
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

12 years agoAdd an openbox.desktop file for the applications/ directory
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

12 years agoDon't need 2 exit actions in the default menu now, they both would do the same thing
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

12 years agoRemove desktop hints since Openbox won't overwrite them, but they may be set from...
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

12 years agoFix a typo in xdg-autostart
Miroslav Lichvar [Thu, 10 Dec 2009 14:40:20 +0000 (09:40 -0500)]
Fix a typo in xdg-autostart

12 years agoMake the desktop popup show on the primary monitor as defined in the config.
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.

12 years agoRevert "Show desktop switch popup on every monitor"
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.

12 years agoRevert "Some fixes for the pager popups, and avoid a crash if you destroy a popup...
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.

12 years agoAdd a primaryMonitor config option, where the focus-cycle and keychain popups will...
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

12 years agoBug in choosing the active monitor when doing a move/resize
Dana Jansens [Wed, 9 Dec 2009 21:26:15 +0000 (16:26 -0500)]
Bug in choosing the active monitor when doing a move/resize

12 years agoMake the edge detection fully include monitor edges.
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

12 years agoMake the default placement on the active monitor (Any is madness)
Dana Jansens [Wed, 9 Dec 2009 20:41:28 +0000 (15:41 -0500)]
Make the default placement on the active monitor (Any is madness)

12 years agoFind a valid image to use in the image cache. Fixes bug #1149
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

12 years agoProperly react when a client's strut changes.
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).

12 years agoFix for rendering RGBA and Image textures.
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.

12 years agoFix the Focus/Activate actions to focus windows on other desktops correctly
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

12 years agoWhen moving focus across desktops, make sure Openbox doesn't think that a window...
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.

12 years agoThe colormap is being set twice when moving focus to the root window
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

12 years agoAdd a focus debug message for the frame's visible focus state
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

12 years agoFully maximized windows still have a normal titlebar. Fixes bug #4373
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.

12 years agoAdd a WM_CLASS to the skiptaskbar test
Dana Jansens [Wed, 9 Dec 2009 16:02:44 +0000 (11:02 -0500)]
Add a WM_CLASS to the skiptaskbar test

12 years agoAllow skip_taskbar windows to be focused on map when the user requests it in rc.xml...
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

12 years agoSet a minimum value for the screenEdgeWarpTime for 25ms.
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.

12 years agoUse test -r instead of test -e for solaris. Fixes bug #4253.
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.

12 years agoFix stacking for transients vs helper windows. Fixes bug #3851
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.

12 years agoMake openbox-gnome-session work with gnome-session > 2.22
Dana Jansens [Tue, 8 Dec 2009 20:18:57 +0000 (15:18 -0500)]
Make openbox-gnome-session work with gnome-session > 2.22

12 years agoFollow up for commit 7f36e21ea9d86df5e6fa62d2888891ed957c4639
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.

12 years agoDon't hilite new windows when we're restoring them from a saved session.
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.

12 years agoFix client_activate() to work for internal Openbox menus
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.

12 years agoDon't kill keygrabs when focus moves.
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.

12 years agoChange _net_active_window behaviour.
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.

12 years agoAdd needed linebreaks to the end of some debug messages
Dana Jansens [Tue, 8 Dec 2009 15:11:21 +0000 (10:11 -0500)]
Add needed linebreaks to the end of some debug messages

12 years agoCombine the Exit and SessionLogout actions
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.

12 years agoDon't ever give borders to windows that didnt have them before by making them "undeco...
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.

12 years agoAdd a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts...
Dana Jansens [Sat, 21 Nov 2009 21:33:35 +0000 (16:33 -0500)]
Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding struts with multiple monitors.

12 years agoSome fixes for the pager popups, and avoid a crash if you destroy a popup while it...
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.

12 years agoFix some signed/unsigned warnings (and keep stuff within 80 columns).
Dana Jansens [Sat, 21 Nov 2009 20:16:37 +0000 (15:16 -0500)]
Fix some signed/unsigned warnings (and keep stuff within 80 columns).

12 years agoKeep things in 80 columns
Dana Jansens [Sat, 21 Nov 2009 20:12:40 +0000 (15:12 -0500)]
Keep things in 80 columns

12 years agofix a crash in the SessionLogout action
Dana Jansens [Sat, 7 Nov 2009 02:02:09 +0000 (21:02 -0500)]
fix a crash in the SessionLogout action

12 years agoRespect $XDG_CONFIG_HOME in openbox-session
Piotr Lewandowski [Sun, 20 Sep 2009 13:40:38 +0000 (15:40 +0200)]
Respect $XDG_CONFIG_HOME in openbox-session

12 years agoReload motif wm hints when property changes
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.

13 years agoUpdate slovak translation.
František Eliáš [Thu, 16 Jul 2009 19:08:05 +0000 (21:08 +0200)]
Update slovak translation.

13 years agoRemove newline from startupnotify description
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 ]

13 years agoDon't replace ~ when we shouldn't
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.

13 years agoAnother debug message typo
Mikael Magnusson [Sun, 5 Jul 2009 14:21:28 +0000 (16:21 +0200)]
Another debug message typo

13 years agoAllow escaping _ in menu labels by putting __
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.

13 years agoDon't trust xinerama not to return NULL
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.

13 years agoUpdate ukrainian translation and rename to uk.po
Serhiy Lysovenko [Sun, 5 Jul 2009 12:04:44 +0000 (14:04 +0200)]
Update ukrainian translation and rename to uk.po

13 years agoDon't draw borders in fullscreen mode when keepBorder is on
Henning Bekel [Sun, 5 Jul 2009 11:38:25 +0000 (13:38 +0200)]
Don't draw borders in fullscreen mode when keepBorder is on

13 years agoFix interpretation of struts with multiple screens
Geoffrey Antos [Sun, 5 Jul 2009 11:14:24 +0000 (13:14 +0200)]
Fix interpretation of struts with multiple screens

According to the WM Specification, the left, top, right, and bottom
fields are to be declared relative to the overall X screen dimensions,
not the monitor dimensions.

The example given in the spec (v1.3 or 1.4draft2) is: "Another example
is a panel on a screen using the Xinerama extension. Assume that the
set up uses two monitors, one running at 1280x1024 and the other to the
right running at 1024x768, with the top edge of the two physical displays
aligned. If the panel wants to fill the entire bottom edge of the smaller
display with a panel 50 pixels tall, it should set a bottom strut of 306,
with bottom_start_x of 1280, and bottom_end_x of 2303. Note that the strut
is relative to the screen edge, and not the edge of the xinerama monitor."

In my case, I have a 1680x1050 monitor to the left of a 1920x1200 monitor
aligned at the top. I then have a gnome-panel along the bottom edge of
the 1680x1050 monitor with a height of 24 pixels.

xprop reports the following partial strut: _NET_WM_STRUT_PARTIAL(CARDINAL)
= 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 1679 which is correct according to
the spec. Gnome-panel is reserving the 150 pixels along the bottom that
aren't visible on the screen plus the 25 it requests for itself.

However, maximizing a window on this monitor leaves a gap of exactly 150
pixels between the bottom edge of the maximized window and the top edge
of the panel.

Also, when the 1680x1050 monitor is the primary monitor (id=1) then the
_NET_WORKAREA property on the root window is also off by 150px for the
same reason.

This patch fixes the two issues I mentioned for exterior monitor edges.
It doesn't attempt to account for "interior" monitor edges (i.e. a 'left'
strut on monitor A when monitor B is directly to the left of monitor A)
because it's not possible to do so with the current strut specification
(see http://mail.gnome.org/archives/wm-spec-list/2004-March/msg00004.html
for a discussion on this limitation)

This could be avoided by having the partial strut atom contain a xinerama
screen ID that the strut applies to, but unfortunately the discussion
all those years ago never got anywhere.

[ quoted from bug #3792 ]

13 years agoShow desktop switch popup on every monitor
Mikael Magnusson [Sat, 4 Jul 2009 14:58:02 +0000 (16:58 +0200)]
Show desktop switch popup on every monitor

This should be a satisfactory fix for #3694 I hope.

13 years agoGive the popup to the timer remove so it does the right one
Mikael Magnusson [Sat, 4 Jul 2009 13:34:54 +0000 (15:34 +0200)]
Give the popup to the timer remove so it does the right one

Only the chroot popup uses delayed mapping so this is just a latent bug.

13 years agoFix memory corruption when y2sz is 0.
Reilly Grant [Sat, 4 Jul 2009 13:06:55 +0000 (15:06 +0200)]
Fix memory corruption when y2sz is 0.

data is incremented one too many times when y2sz is zero, leading to
memory corruption.

[ also changed % 2 to & 1 -- Mikael ]

13 years agoAdd "prev" and "next" as possible targets for moveto/resizeto actions.
Nico Golde [Sat, 4 Jul 2009 12:26:50 +0000 (14:26 +0200)]
Add "prev" and "next" as possible targets for moveto/resizeto actions.

One of the Debian users asked if it's possible to send a window to other
monitor when using xinerama, especially useful of you have 2 monitors and want
to toggle a window to the other one. I wrote a patch that implements next and
prev to also make that work for 3 or more workspaces.

13 years agoOnly open the default font once, then ref it.
Mikael Magnusson [Sat, 4 Jul 2009 12:16:47 +0000 (14:16 +0200)]
Only open the default font once, then ref it.

As suggested in #3622, we don't need to open the default font for every
place that wasn't specified in the theme. Solved a bit differently than
the patch given there.

13 years agoclient_validate should return FALSE only for UnmapNotifies that will cause the window...
Dana Jansens [Fri, 3 Jul 2009 22:58:21 +0000 (18:58 -0400)]
client_validate should return FALSE only for UnmapNotifies that will cause the window to become unmanaged

13 years agoShow window role in the debug message for name/class too.
Mikael Magnusson [Fri, 3 Jul 2009 19:20:30 +0000 (21:20 +0200)]
Show window role in the debug message for name/class too.

13 years agoFix for #3715, app settings applied too late.
Mikael Magnusson [Fri, 3 Jul 2009 19:19:54 +0000 (21:19 +0200)]
Fix for #3715, app settings applied too late.

This caused problems for placing windows with decor turned off, the
placement code thought they had it on.

13 years agoMake at least the default configs validate
Mikael Magnusson [Wed, 15 Apr 2009 16:18:16 +0000 (18:18 +0200)]
Make at least the default configs validate

More things need to be case insensitive and whatnot.

13 years agoUpdate and reactivate croatian translation.
Mikael Magnusson [Sun, 5 Apr 2009 14:53:38 +0000 (16:53 +0200)]
Update and reactivate croatian translation.

13 years agoAdd latvian translation.
Einars Sprugis [Tue, 31 Mar 2009 17:20:23 +0000 (19:20 +0200)]
Add latvian translation.

13 years agoAvoid anonymous unions
Mikael Magnusson [Sun, 29 Mar 2009 20:34:50 +0000 (22:34 +0200)]
Avoid anonymous unions

Some compilers, like sun studio and clang don't support them.

13 years agoUpdate italian translation.
Davide Truffa [Wed, 25 Feb 2009 22:51:45 +0000 (23:51 +0100)]
Update italian translation.

13 years agoFix per-app monitor setting
Mikael Magnusson [Fri, 20 Feb 2009 16:41:34 +0000 (17:41 +0100)]
Fix per-app monitor setting

A couple of things were wrong, the parser added 1 to the value despite
expecting the user to give values in the range of 1 to
screen_num_monitors, rc.xml documented the values to start from 0 and
finally the monitor value wasn't copied over at all when matching the

13 years agoAdd Plural-Forms header to .po files that need it.
Mikael Magnusson [Thu, 29 Jan 2009 21:35:25 +0000 (22:35 +0100)]
Add Plural-Forms header to .po files that need it.

13 years agoHandle InputShape type shaping too.
Mikael Magnusson [Thu, 29 Jan 2009 21:33:44 +0000 (22:33 +0100)]
Handle InputShape type shaping too.

Many composite apps use this to pass through clicks where they are transparent.

13 years agoTypos in error message from gdm-control
Mikael Magnusson [Sun, 23 Nov 2008 11:33:20 +0000 (12:33 +0100)]
Typos in error message from gdm-control

13 years agoinstall-sh should be executable
Mikael Magnusson [Sun, 23 Nov 2008 11:21:31 +0000 (12:21 +0100)]
install-sh should be executable

Apparently on solaris, you can't invoke -x scripts via "sh install-sh".

13 years agoOnly update the focus cycle indicator when already visible in frame.c to avoid overri...
Mikael Magnusson [Wed, 19 Nov 2008 16:14:38 +0000 (17:14 +0100)]
Only update the focus cycle indicator when already visible in frame.c to avoid overriding bar=no