Mikael Magnusson [Sun, 5 Jul 2009 20:49:48 +0000 (22:49 +0200)]
Update CHANGELOG and bump.
Mikael Magnusson [Sun, 5 Jul 2009 20:37:32 +0000 (22:37 +0200)]
Merge branch 'backport' into 3.4
Conflicts:
data/rc.xsd
openbox/actions/desktop.c
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
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 ]
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.
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.
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 ]
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.
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.
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
Mikael Magnusson [Fri, 3 Jul 2009 19:20:30 +0000 (21:20 +0200)]
Show window role in the debug message for name/class too.
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.
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.
Mikael Magnusson [Sun, 5 Apr 2009 14:53:38 +0000 (16:53 +0200)]
Update and reactivate croatian translation.
Einars Sprugis [Tue, 31 Mar 2009 17:20:23 +0000 (19:20 +0200)]
Add latvian translation.
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.
Davide Truffa [Wed, 25 Feb 2009 22:51:45 +0000 (23:51 +0100)]
Update italian translation.
Mikael Magnusson [Fri, 20 Feb 2009 16:43:49 +0000 (17:43 +0100)]
Changelog.
Mikael Magnusson [Fri, 20 Feb 2009 16:42:48 +0000 (17:42 +0100)]
Merge branch 'backport' into 3.4
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
client.
Mikael Magnusson [Thu, 29 Jan 2009 21:48:21 +0000 (22:48 +0100)]
Changelog
Mikael Magnusson [Thu, 29 Jan 2009 21:46:04 +0000 (22:46 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Thu, 29 Jan 2009 21:35:25 +0000 (22:35 +0100)]
Add Plural-Forms header to .po files that need it.
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.
Mikael Magnusson [Sun, 23 Nov 2008 11:33:20 +0000 (12:33 +0100)]
Typos in error message from gdm-control
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".
Mikael Magnusson [Wed, 19 Nov 2008 16:42:33 +0000 (17:42 +0100)]
Merge branch 'backport' into 3.4
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
Mikael Magnusson [Sat, 15 Nov 2008 21:51:44 +0000 (22:51 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Sat, 15 Nov 2008 21:50:16 +0000 (22:50 +0100)]
Use ngettext for %d desktop(s).
This poses a small problem. We currently let translators reorder this
string, but ngettext only takes one numeric argument. This means that you
can either get correct pluralization or the order you want, but not both.
I fixed up the languages I understand at a very basic level, but the
rest will need translator assistance.
Mikael Magnusson [Mon, 10 Nov 2008 22:38:58 +0000 (23:38 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Mon, 10 Nov 2008 22:34:50 +0000 (23:34 +0100)]
Fix a problem pointed out by clang
openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *'
if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time))
^~~~~~~~~~~~~~
Mikael Magnusson [Wed, 5 Nov 2008 18:39:02 +0000 (19:39 +0100)]
Add changelog entry.
Mikael Magnusson [Wed, 5 Nov 2008 18:34:50 +0000 (19:34 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Wed, 5 Nov 2008 17:48:10 +0000 (18:48 +0100)]
Don't move windows to current desktop on net_active_window if the event didn't come from the user.
Instead, just activate the flashy thinger.
Mikael Magnusson [Wed, 5 Nov 2008 18:09:34 +0000 (19:09 +0100)]
Using format specifiers without arguments in printf is bad.
Mikael Magnusson [Wed, 29 Oct 2008 00:28:13 +0000 (01:28 +0100)]
Update CHANGELOG.
Mikael Magnusson [Wed, 29 Oct 2008 12:48:45 +0000 (13:48 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Wed, 29 Oct 2008 12:30:26 +0000 (13:30 +0100)]
Bring helper windows when following a window.
Mikael Magnusson [Wed, 29 Oct 2008 11:35:17 +0000 (12:35 +0100)]
_NET_WM_USER_TIME=0 means don't focus the new window.
Mikael Magnusson [Wed, 29 Oct 2008 00:29:43 +0000 (01:29 +0100)]
Typo in comment.
Mikael Magnusson [Wed, 22 Oct 2008 19:26:09 +0000 (21:26 +0200)]
Bump.
Mikael Magnusson [Mon, 27 Oct 2008 00:00:32 +0000 (01:00 +0100)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Sun, 26 Oct 2008 23:51:56 +0000 (00:51 +0100)]
Show name/class when mapping in debug mode.
Mikael Magnusson [Sun, 26 Oct 2008 23:10:57 +0000 (00:10 +0100)]
Correct a 64-bit bug in event_time_after
The code assumed the timestamps had the same domain as the type Xlib
uses for them, which is almost never the case with Xlib. Change all
involved variables to guint32.
Dana Jansens [Sat, 29 Mar 2008 00:56:16 +0000 (20:56 -0400)]
give the compiler hints about what can be kept in registers so that it can optimize the gradient code better with all the pointers going on
Mikael Magnusson [Wed, 22 Oct 2008 19:13:27 +0000 (21:13 +0200)]
Make sure the _MOTIF_WM_INFO atom exists.
Without this, urxvt won't use motif hints for borderless mode.
Inko Illarramendi Arancibia [Wed, 22 Oct 2008 16:15:30 +0000 (18:15 +0200)]
Update Basque translation.
Mikael Magnusson [Sun, 14 Sep 2008 11:56:13 +0000 (13:56 +0200)]
0 is the first monitor here, not 1.
Jesper Sander [Tue, 19 Aug 2008 15:46:45 +0000 (17:46 +0200)]
Add danish translation.
Nico Golde [Sun, 13 Jul 2008 13:29:50 +0000 (15:29 +0200)]
Properly escape strings before writing XML.
Mikael Magnusson [Thu, 29 May 2008 16:51:17 +0000 (18:51 +0200)]
Openbox doesn't support _NET_WM_USER_TIME_WINDOW atm.
David Majà Martínez [Sun, 25 May 2008 18:26:24 +0000 (20:26 +0200)]
Update catalan translation.
Mikael Magnusson [Sat, 24 May 2008 14:36:22 +0000 (16:36 +0200)]
Add a translators note about not translating the word "SessionLogout" in an error message.
Tutku Dalmaz [Sat, 24 May 2008 14:33:49 +0000 (16:33 +0200)]
Add turkish translation.
Andrea Scarpino [Thu, 15 May 2008 11:12:22 +0000 (13:12 +0200)]
Update italian translation.
Nicolás de la Torre [Sun, 4 May 2008 20:04:38 +0000 (22:04 +0200)]
Update spanish translation.
Mikael Magnusson [Sun, 4 May 2008 19:17:53 +0000 (21:17 +0200)]
Add Lithuanian translation.
Mikael Magnusson [Sat, 3 May 2008 13:03:04 +0000 (15:03 +0200)]
Don't translate action names.
Moroz Sergey L [Fri, 2 May 2008 08:26:40 +0000 (10:26 +0200)]
Update russian translation.
Mikael Magnusson [Wed, 23 Apr 2008 15:18:01 +0000 (17:18 +0200)]
Bump.
Mikael Magnusson [Wed, 23 Apr 2008 14:40:22 +0000 (16:40 +0200)]
Fix typo introduced a few commits ago that made resizing windows hard.
Mikael Magnusson [Wed, 16 Apr 2008 15:35:27 +0000 (17:35 +0200)]
Bump and changelog.
Mikael Magnusson [Wed, 16 Apr 2008 15:31:09 +0000 (17:31 +0200)]
Missed a pair of parentheses when I resolved a merge conflict. You can now resize windows again.
Mikael Magnusson [Tue, 15 Apr 2008 16:25:42 +0000 (18:25 +0200)]
Bump version to 3.4.7.
Remove an item from CHANGELOG as I just reverted that commit.
Mikael Magnusson [Tue, 15 Apr 2008 16:18:09 +0000 (18:18 +0200)]
Merge branch 'backport' into 3.4
Mikael Magnusson [Wed, 19 Mar 2008 11:49:50 +0000 (12:49 +0100)]
Don't use GrabModeSync, it hangs the xserver on chains sometimes.
More or less a revert of
5bfa48dcffec3b00d119d851cb2427a43f80aa7b
"Grab key bindings with GrabModeSync"
See also bug #3582.
Mikael Magnusson [Tue, 18 Mar 2008 20:51:34 +0000 (21:51 +0100)]
Show the resize popup right away.
Previously, it would wait for a resize step before showing it, when resizing
windows with resize increments that were bigger than the moveresize threshold.
Mikael Magnusson [Fri, 28 Mar 2008 20:01:46 +0000 (21:01 +0100)]
When icons had a very small aspect ratio, we crashed, don't.
Kadlcik Libor [Wed, 2 Apr 2008 20:24:41 +0000 (22:24 +0200)]
Move "if"s out of the loop and rewrite the loop to use parse_find_node() to search for "file".
Mikael Magnusson [Mon, 31 Mar 2008 17:20:55 +0000 (19:20 +0200)]
Center the moveresize popup even when shaded.
Mikael Magnusson [Thu, 27 Mar 2008 14:28:10 +0000 (15:28 +0100)]
Remove autostart.sh when cleaning too.
Mikael Magnusson [Thu, 27 Mar 2008 14:11:14 +0000 (15:11 +0100)]
Update changelog and bump version to pre3.
Mikael Magnusson [Thu, 27 Mar 2008 13:56:33 +0000 (14:56 +0100)]
Merge branch 'backport' into 3.4
Benno Schulenberg [Mon, 24 Mar 2008 14:53:11 +0000 (15:53 +0100)]
Update dutch translation.
Lauri Hakko [Mon, 17 Mar 2008 20:26:52 +0000 (21:26 +0100)]
Update finnish translation.
Robert Kuszinger [Mon, 17 Mar 2008 19:16:33 +0000 (20:16 +0100)]
Update hungarian translation.
Mikael Magnusson [Mon, 17 Mar 2008 17:15:21 +0000 (18:15 +0100)]
Update czech translation.
Mikael Magnusson [Sun, 16 Mar 2008 14:48:50 +0000 (15:48 +0100)]
Update portuguese translation.
Florian Walch [Thu, 13 Mar 2008 12:43:26 +0000 (13:43 +0100)]
Update german translation.
Michael Kjelbergvik Thung [Thu, 13 Mar 2008 12:37:40 +0000 (13:37 +0100)]
Update weejun translation.
zhou sf [Tue, 11 Mar 2008 14:39:54 +0000 (15:39 +0100)]
Update simplified chinese translation.
Marvin Vek [Tue, 11 Mar 2008 14:01:47 +0000 (15:01 +0100)]
Update dutch translation.
Quan Tran [Tue, 11 Mar 2008 01:08:42 +0000 (02:08 +0100)]
Update vietnamese translation.
Mikael Magnusson [Sat, 8 Mar 2008 15:42:43 +0000 (16:42 +0100)]
Remove double newlines.
Mikael Magnusson [Thu, 6 Mar 2008 19:02:26 +0000 (20:02 +0100)]
Don't run actions in focus cycling actions backwards either (as in
664b0b4e943ba4d410168817dcff953804b44253).
Mikael Magnusson [Thu, 6 Mar 2008 01:28:43 +0000 (02:28 +0100)]
Don't draw titlebar buttons on top of eachother.
Dana Jansens [Thu, 6 Mar 2008 07:44:58 +0000 (02:44 -0500)]
don't set variables twice
Dana Jansens [Thu, 6 Mar 2008 07:43:32 +0000 (02:43 -0500)]
fix the check for if a relative is focused on map
Dana Jansens [Thu, 6 Mar 2008 07:35:26 +0000 (02:35 -0500)]
when a window pops up a child, don't avoid focusing it because you were working in its parent window before this. that's probably what made the window appear in the first place
Dana Jansens [Thu, 6 Mar 2008 07:34:27 +0000 (02:34 -0500)]
ignore the gdm-control binary
Mikael Magnusson [Wed, 5 Mar 2008 19:12:45 +0000 (20:12 +0100)]
Don't leak auto-scaled RGBA textures.
洪任諭 [Wed, 5 Mar 2008 17:12:11 +0000 (18:12 +0100)]
Update traditional chinese translation.
Og Maciel [Tue, 4 Mar 2008 21:22:46 +0000 (22:22 +0100)]
Update brazilian portuguese translation.