Mikael Magnusson [Mon, 12 Mar 2018 13:55:13 +0000 (14:55 +0100)]
Update danish translation
Richard Penman [Mon, 12 Mar 2018 13:48:38 +0000 (14:48 +0100)]
Add esperanto translation
Eric Anholt [Mon, 12 Mar 2018 13:21:14 +0000 (14:21 +0100)]
Compress motion events
Toni Estévez [Mon, 12 Mar 2018 13:17:14 +0000 (14:17 +0100)]
Update catalan translation
Mikael Magnusson [Mon, 12 Mar 2018 13:13:32 +0000 (14:13 +0100)]
Update lithuanian translation
Muhammet Kara [Mon, 12 Mar 2018 13:10:46 +0000 (14:10 +0100)]
Update turkish translation
Toni Estévez [Mon, 12 Mar 2018 13:07:45 +0000 (14:07 +0100)]
Update catalan translation
Mikael Magnusson [Mon, 12 Mar 2018 12:42:59 +0000 (13:42 +0100)]
Bump stuff for 3.7
Mikael Magnusson [Sat, 1 Oct 2016 11:47:26 +0000 (13:47 +0200)]
Add fullscreen condition to If action
Mikael Magnusson [Tue, 18 Aug 2015 18:26:44 +0000 (20:26 +0200)]
Show class/name if window is unnamed
Mikael Magnusson [Tue, 11 Nov 2014 13:53:40 +0000 (14:53 +0100)]
Penalize #rects when placing
Mikael Magnusson [Tue, 29 Apr 2008 14:56:31 +0000 (16:56 +0200)]
Allow to use a pango font description string.
Mikael Magnusson [Sun, 28 Sep 2008 20:05:25 +0000 (22:05 +0200)]
Center text in pager popup and make it at least as wide as it is high.
Mikael Magnusson [Mon, 23 Jul 2007 23:44:15 +0000 (01:44 +0200)]
Add grab option to <keybind> to not grab the keycombo.
This is for example to let you bind stuff to the Alt key while alt-tabbing,
but you don't want those keys to be grabbed in normal usage.
Mikael Magnusson [Fri, 5 May 2017 17:57:15 +0000 (19:57 +0200)]
Don't clobber loop variable with return value
Fixes bug 6383.
Mikael Magnusson [Sun, 2 Apr 2017 17:20:23 +0000 (19:20 +0200)]
Apply combined shape mask correctly
This only broke windows that use ShapeInput and don't hide
their window decorations, which is a fairly small set.
Ian Zimmerman [Wed, 8 Jul 2015 23:02:00 +0000 (16:02 -0700)]
Directional switching
On 2015-07-07 13:17 -0700, Ian Zimmerman wrote:
> The 2 and 5 could/should be rc.xml parameters. With defaults 1 and 1
> you'd have the current behavior. Is there interest in me pursuing that
> path and providing a more complete patch?
Not much interest, but here it is anyway. I want to be on record as
using this feature to its full extent, and if necessary maintaining it.
--
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
Mikael Magnusson [Sun, 6 Sep 2015 22:24:03 +0000 (00:24 +0200)]
Add 'last' as a desktop target for if/foreach
Mikael Magnusson [Wed, 1 Jul 2015 09:14:56 +0000 (11:14 +0200)]
libobrender ABI changed since 3.5.2, bump .so version correctly
Mikael Magnusson [Sun, 22 Mar 2015 13:00:25 +0000 (14:00 +0100)]
Forgot to check base size is set before using for ratio check
This resulted in ratio checks for mplayer2 and mpv being off by one.
Mikael Magnusson [Wed, 4 Mar 2015 00:05:45 +0000 (01:05 +0100)]
Add include of cairo.h when using librsvg
This should be compatible with both old and new librsvg versions.
Mikael Magnusson [Tue, 3 Mar 2015 21:59:55 +0000 (22:59 +0100)]
Update version to 3.6
Mikael Magnusson [Tue, 3 Mar 2015 21:59:31 +0000 (22:59 +0100)]
Add missing file so make distcheck passes
Mikael Magnusson [Tue, 3 Mar 2015 21:37:21 +0000 (22:37 +0100)]
Merge branch 'master' of git://git.openbox.org/dana/openbox
Dana Jansens [Wed, 3 Dec 2014 21:39:59 +0000 (13:39 -0800)]
Update the gnome-session support for version 3.9.90 in Ubuntu Trusty
This change is not backward compatible unfortunately. The format of
the gnome-session .session files has changed, such that every part
of the session is now listed on the RequiredComponents line.
Mikael Magnusson [Tue, 6 Jan 2015 22:26:34 +0000 (23:26 +0100)]
Special case for unusual monitor setup
When no monitor is at (0,0), the screen rect containing all monitors
is not at the origin, but screen_apply_gravity_point assumes the passed
x/y are relative to the passed area, so adjust them.
Mikael Magnusson [Mon, 10 Nov 2014 18:05:09 +0000 (19:05 +0100)]
Update CHANGELOG again.
Dana Jansens [Fri, 7 Nov 2014 17:58:40 +0000 (12:58 -0500)]
Revert "Include rsvg-cairo.h for cairo-specific things"
This reverts commit
effa8667e1bcc62361d5d54cd0581e3294203f90.
This header is not public and we are not meant to include it.
Michael Kjelbergvik Thung [Thu, 6 Nov 2014 09:43:20 +0000 (10:43 +0100)]
Update Norwegian translation.
Mikael Magnusson [Thu, 6 Nov 2014 03:35:24 +0000 (04:35 +0100)]
Clarify versioning comment instructions in configure.ac
Mikael Magnusson [Wed, 5 Nov 2014 16:00:31 +0000 (17:00 +0100)]
Clean up translation files
Correct obvious and remove other fuzzy translations
Update line numbers
Fill out Language: header correctly (just the filename without the .po)
Javier Mancebo [Wed, 5 Nov 2014 09:32:13 +0000 (10:32 +0100)]
Add Galician translation.
Jakub Błażejczyk [Wed, 5 Nov 2014 09:20:53 +0000 (10:20 +0100)]
Update Polish translation.
Mikael Magnusson [Wed, 5 Nov 2014 17:31:49 +0000 (18:31 +0100)]
Move some more code around to make it shorter
Mikael Magnusson [Wed, 5 Nov 2014 12:22:56 +0000 (13:22 +0100)]
Reduce length of theme.c a bit
Mikael Magnusson [Wed, 5 Nov 2014 10:12:28 +0000 (11:12 +0100)]
Make theme.c indentation more locally consistent
Also removes some comments that is just the code with s/_/ /g
Mikael Magnusson [Wed, 5 Nov 2014 09:52:22 +0000 (10:52 +0100)]
Remove wrong code from button mask loading code, bug 6065
The READ_MASK_COPY macro already uses these exact fallbacks, so these
lines just overwrote the custom bitmaps with the default fallback bitmaps.
Mikael Magnusson [Wed, 5 Nov 2014 08:58:34 +0000 (09:58 +0100)]
Only add xqueue listener fd once, bug 6326
Mikael Magnusson [Wed, 5 Nov 2014 08:58:57 +0000 (09:58 +0100)]
Allow selecting menu entries during menuHideDelay if you click again, bug 5501
Mikael Magnusson [Mon, 3 Nov 2014 11:52:11 +0000 (12:52 +0100)]
Move final frame adjust in flashing to timeout func
This possibly avoids badness when the timeout destroy notify is removed
from the frame release func.
Mikael Magnusson [Mon, 3 Nov 2014 10:58:06 +0000 (11:58 +0100)]
Make sure to reset all the GSource timer ids
Avoids warnings like 'Source ID 8382 was not found when attempting to
remove it'. In particular some removals were missing in menuframe.c
resulting in a warning being printed every time a submenu was opened.
Mikael Magnusson [Tue, 28 Oct 2014 05:20:51 +0000 (06:20 +0100)]
Update my email address
Mikael Magnusson [Tue, 28 Oct 2014 04:45:09 +0000 (05:45 +0100)]
Fix some compiler warnings for ShowMenu
Mikael Magnusson [Tue, 28 Oct 2014 04:20:10 +0000 (05:20 +0100)]
Some fixes found by coverity for things used before a null check
In the second case, we actually check the wrong variable.
Mikael Magnusson [Tue, 28 Oct 2014 04:11:17 +0000 (05:11 +0100)]
Initialize some stuff to 0 before taking their address
Mikael Magnusson [Tue, 28 Oct 2014 04:18:03 +0000 (05:18 +0100)]
Move assignment to before break, hopefully this doesn't break stuff
Mikael Magnusson [Tue, 28 Oct 2014 03:34:21 +0000 (04:34 +0100)]
Fix an if statement getting moved into a loop it shouldn't have
Found by coverity code analysis.
Mikael Magnusson [Tue, 28 Oct 2014 02:44:28 +0000 (03:44 +0100)]
Use PANGO_UNDERLINE_SINGLE for rendering shortcuts
The pango docs say to use _LOW for accelerators, but that causes the line
to be drawn beneath the ink extents which for us may be outside the area
that gets displayed and we end up with no line at all. We also don't want
to extend every menu entry with enough space to fit this possible line.
Peter Åstrand [Tue, 28 Oct 2014 02:37:20 +0000 (03:37 +0100)]
Fix compile failure when X_HAVE_UTF8_STRING is not defined
Mikael Magnusson [Tue, 28 Oct 2014 01:23:35 +0000 (02:23 +0100)]
Use GString for appending strings
It can take a very long time to print a _NET_WM_ICON property for firefox with the previous code, several minutes. Fixes bug #6042 and also implements the change for append_string.
Edward Sheldrake [Tue, 28 Oct 2014 00:28:35 +0000 (01:28 +0100)]
Fix use after free in menu_entry_frame_free
Pascal Terjan [Mon, 27 Oct 2014 23:50:20 +0000 (00:50 +0100)]
Fix copy paste typo in swap_byte_order
Mikael Magnusson [Fri, 24 Oct 2014 20:57:21 +0000 (22:57 +0200)]
Update CHANGELOG with changes so far
Mikael Magnusson [Mon, 27 Oct 2014 23:36:55 +0000 (00:36 +0100)]
Make desktop actions noninteractive
Mikael Magnusson [Fri, 24 Oct 2014 23:21:48 +0000 (01:21 +0200)]
Remove freshmeat related stuff from release script, the site is dead
Mikael Magnusson [Mon, 27 Oct 2014 22:33:12 +0000 (23:33 +0100)]
Clip client rect to monitor bounds while picking a corner for resizing
This way you can actually do everything to it when it's offscreen,
not just resize the one edge that's poking out
Mikael Magnusson [Thu, 23 Oct 2014 21:33:38 +0000 (23:33 +0200)]
Change some while loops to for loops in config.c
Mikael Magnusson [Mon, 20 Oct 2014 13:39:34 +0000 (15:39 +0200)]
Allow specifying several mousebinds in one go, like for keybinds
Also fixes minor indent error
Mikael Magnusson [Sat, 12 Jul 2014 03:19:41 +0000 (05:19 +0200)]
Make RaiseLower work for the dock as well
As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
Mikael Magnusson [Sat, 22 Feb 2014 20:37:29 +0000 (21:37 +0100)]
Add keyboard/rebindOnMappingNotify option
I have to switch to a qwerty layout to play steam games, and every time
I switch back and forth, we lose some random bindings so I also had to
reconfigure Openbox every time, now I don't.
Mikael Magnusson [Mon, 6 Oct 2014 19:54:16 +0000 (21:54 +0200)]
Pass the GravityPoint as const* instead of by value
Mikael Magnusson [Mon, 6 Oct 2014 18:15:08 +0000 (20:15 +0200)]
Let the menu placement code know if the position was user specified
This way, it can avoid running the code that moves it to a good position
relative to a mouse that isn't there
Mikael Magnusson [Mon, 6 Oct 2014 17:52:14 +0000 (19:52 +0200)]
Move common gravity application to screen.c
Mikael Magnusson [Mon, 6 Oct 2014 17:38:51 +0000 (19:38 +0200)]
Resolve gravity coords in menuframe so it can use the widths
Mikael Magnusson [Mon, 6 Oct 2014 16:21:38 +0000 (18:21 +0200)]
Add <position> tag to ShowMenu action
Mikael Magnusson [Mon, 6 Oct 2014 16:20:51 +0000 (18:20 +0200)]
Fix negative relative coordinate placement
Mikael Magnusson [Mon, 6 Oct 2014 16:25:14 +0000 (18:25 +0200)]
double space
Mikael Magnusson [Thu, 24 Apr 2014 22:22:59 +0000 (00:22 +0200)]
Fix thinko in if.c, *o in Stop can never be pointing at the right place.
Use a file static boolean instead.
Mikael Magnusson [Thu, 10 Apr 2014 20:51:28 +0000 (22:51 +0200)]
Fix typo in variable name
Mikael Magnusson [Mon, 17 Feb 2014 16:55:16 +0000 (17:55 +0100)]
Avoid initializing a VLA of 0 length
Mikael Magnusson [Wed, 14 Aug 2013 12:19:09 +0000 (14:19 +0200)]
Declare variables at start of blocks in place.c
Mikael Magnusson [Tue, 17 Sep 2013 16:52:11 +0000 (18:52 +0200)]
Break loop if is_true was set to false in If
Mikael Magnusson [Tue, 17 Sep 2013 16:47:45 +0000 (18:47 +0200)]
Don't segfault when there's no target in If
Mikael Magnusson [Wed, 25 Dec 2013 15:37:04 +0000 (16:37 +0100)]
Some fixes in french translation
Derek Foreman [Thu, 10 Apr 2014 20:12:56 +0000 (15:12 -0500)]
Cache results of offset/shift functions so we don't do 6 function calls per pixel when reducing color depth
Rafael Ignacio Zurita [Thu, 9 Jan 2014 14:49:00 +0000 (11:49 -0300)]
Fix gcc warnings in screen.c
Markus Roesch [Wed, 1 Jan 2014 12:25:31 +0000 (13:25 +0100)]
Added missing break statement (Bug 6043)
Dana Jansens [Mon, 2 Dec 2013 16:35:44 +0000 (11:35 -0500)]
Include rsvg-cairo.h for cairo-specific things
Dana Jansens [Sun, 8 Sep 2013 17:39:59 +0000 (13:39 -0400)]
Add a strict option to the ToggleShowDesktop action
When the strict option is used, normal windows are not able to show themselves
while showing the desktop.
Sérgio Marques [Fri, 6 Sep 2013 08:51:02 +0000 (09:51 +0100)]
Portuguese update for openbox
Dana Jansens [Sun, 1 Sep 2013 21:37:53 +0000 (17:37 -0400)]
Allow FillToEdge to grow when all its edges are blocked.
This change points out how useless the return value from client_find_resize_directional()
was, so it also removes that.
When all edges are blocked, the FillToEdge action will try to grow all four edges agin
without blocking any of them on their current edge. This more closely matches the
behaviour of the GrowToEdge action.
Dana Jansens [Sun, 1 Sep 2013 20:48:39 +0000 (16:48 -0400)]
Clean up the FillToEdge action implementation
This extend the client_find_resize_directional() method to support
two growing modes, and return a bool for whether it was able to grow/shrink.
The client_find_resize_directional() method now takes an enum instead
of a bool, with two growing modes. The old mode which always tries to
grow, the a new mode that will only grow if the client's edge is not
already at a grow stopping point (ie against the edge of another window).
Lucas Augusto Deters [Sat, 28 Aug 2010 05:21:18 +0000 (02:21 -0300)]
Created a 'GrowToFill' action. (Bug 3356)
Dana Jansens [Sun, 1 Sep 2013 19:17:11 +0000 (15:17 -0400)]
Use the BSEARCH() macro in overlap placement
Currently the code rolls its own binary search, but now that we have
a well-tested binary search implementation in obt/ we can make use
of that.
Dana Jansens [Sun, 1 Sep 2013 18:54:51 +0000 (14:54 -0400)]
Fix bugs and add unit tests for BSEARCH()
Also adds running unit tests to the release/go script so we can be
sure that all tests pass before we make a release.
Dana Jansens [Sun, 1 Sep 2013 15:49:06 +0000 (11:49 -0400)]
Fix nits for overlap placement center option
Ian Zimmerman [Sat, 17 Aug 2013 23:08:25 +0000 (16:08 -0700)]
Add the old <center> option for the placement policy. (Bug 5946)
Original commit messages:
. Reformat to move closer to house style
. Add center on top of leat overlap place algo
. Add sentinel value to edge arrays
. Use a Size instead of a Rect for a centering field
. Fix off by one bug
. Need to declare dx and dy
. Pass length of edge array instead of recomputing
. Fix missing open-brace in config.c
. Address the more trivial subset of danakj comments
. Revert "Remove now-unused config_place_center option."
This reverts commit
5e282dae08be3b900e0337efa0fae8f3ffa92cd7.
. Remove reliance on sentinel value when scanning edge arrays
. Avoid need to initialize Size structure by removing it :)
. Clean up field expansion code somewhat
. Compress code further by using a structure for common args
. Fix search for next grid point
. Squeeze it even more by not using Size at all
Ian Zimmerman [Sat, 17 Aug 2013 22:13:05 +0000 (15:13 -0700)]
Fix gcc warnings
Tom Sires [Tue, 27 Aug 2013 13:02:31 +0000 (08:02 -0500)]
Fix a typo causing submenuShowDelay to be ignored (Bug 6019)
Mikael Magnusson [Mon, 19 Aug 2013 01:25:40 +0000 (03:25 +0200)]
Add window type to If as well
This one required some extra helpers so is separate commit
Mikael Magnusson [Mon, 19 Aug 2013 00:40:21 +0000 (02:40 +0200)]
Allow matching class, name and role in If action
Mikael Magnusson [Sun, 18 Aug 2013 22:03:51 +0000 (00:03 +0200)]
Add ForEach action which is like If but runs on all clients
Also adds a Stop action that lets you stop running, in case you only
want to run actions on the first match.
Dana Jansens [Mon, 19 Aug 2013 00:03:46 +0000 (20:03 -0400)]
Remove the else-on-newline rule from HACKING
Dana Jansens [Sun, 18 Aug 2013 23:29:05 +0000 (19:29 -0400)]
Add queries to If actions
This allows the If action to run queries against a client other than
the target of the actions being run, for example to check state on
the focused window while performing actions on another window during
focus cycling.
The syntax looks like
<action name="If">
<query target="default">
<title>FooBar</title>
<maximized>yes</maximized>
</query>
<query target="focus">
<desktop>3</desktop>
</query>
<then>
<action name="NextDesktop"/>
</then>
</action>
The above checks the client window that the actions will run on to
verify that its title is "FooBar" and that it is maximized. If that
is true, it also checks that the currently focused client window is
on desktop 3. If that is true also, then it runs the NextDesktop
action.
The target="" option can be set to "default" which uses the client
window that the actions will run on, or it can be "focus" which uses
the client window that is currently focused.
The <query> tag is optional, and the conditions inside the query can
be placed directly inside the If <action> tag, as they were before
this change. In that case, a default <query> tag is assumed with
target="default" which matches the previous behaviour.
Multiple <query> tags can be present, and they must all be true in
order to run the actions in <then>. If any one is false, the actions
in <else> will be run instead.
Dana Jansens [Sun, 18 Aug 2013 22:11:26 +0000 (18:11 -0400)]
Update HACKING for brace rules
The rules in HACKING for braces are kind of unclear, so add some
more rules and provide examples too.
Dana Jansens [Mon, 12 Aug 2013 20:52:48 +0000 (16:52 -0400)]
Add a note to add the version to the bug tracker for new releases.
Also important to update IRC and keep hydrated.
Dana Jansens [Mon, 12 Aug 2013 01:30:20 +0000 (21:30 -0400)]
Update po files for 3.5.2
Dana Jansens [Mon, 12 Aug 2013 01:28:22 +0000 (21:28 -0400)]
Add CHANGELOG for 3.5.2
Dana Jansens [Mon, 12 Aug 2013 01:26:08 +0000 (21:26 -0400)]
Update version in configure.ac to 3.5.2
No library interfaces were changed since 3.5.1.
Dana Jansens [Sun, 11 Aug 2013 20:37:14 +0000 (16:37 -0400)]
Maximized undecored windows have incorrect top border. (Bug 5996)
If the window has no border since the theme has bwidth=0, or because the
window is truly undecorated via MWM hints, then we should not allocate space
for the frame of the window which will just be empty pixels.