mikachu/openbox.git
13 months agogdm-control: Fix bad parenthesis placement for strncmp work
David Binderman [Mon, 20 Mar 2023 06:07:56 +0000 (07:07 +0100)]
gdm-control: Fix bad parenthesis placement for strncmp

13 months agoUpdate russian translation
Alexey Loginov [Mon, 20 Mar 2023 06:02:28 +0000 (07:02 +0100)]
Update russian translation

13 months agoUpdate esperanto translation
Keith Bowes [Mon, 20 Mar 2023 06:01:28 +0000 (07:01 +0100)]
Update esperanto translation

13 months agoAdd bulgarian translation
M. Kondarev [Mon, 20 Mar 2023 05:58:43 +0000 (06:58 +0100)]
Add bulgarian translation

13 months agoUpdate slovak translation
Jozef Říha [Mon, 20 Mar 2023 05:56:00 +0000 (06:56 +0100)]
Update slovak translation

13 months agoUpdate german translation
Michael Siegel [Mon, 20 Mar 2023 05:45:52 +0000 (06:45 +0100)]
Update german translation

13 months agoReplace getgrent with getgroups. Fixes #5978.
Simon [Tue, 15 Dec 2015 14:46:18 +0000 (15:46 +0100)]
Replace getgrent with getgroups. Fixes #5978.

13 months agoFix list traversal issue in client_calc_layer
pldubouilh [Fri, 17 Mar 2023 17:23:47 +0000 (18:23 +0100)]
Fix list traversal issue in client_calc_layer

The calls to client_calc_layer_internal can modify stacking_list, which
can cause us to follow dangling ->next pointers (either by the pointer
itself already being freed, or it pointing to a freed area). Avoid this
by copying the list first, the goal is to visit every client in the list
once so this should be fine.

13 months agoRemove incorrect assertion for MoveResizeTo
Mikael Magnusson [Fri, 20 May 2022 14:22:44 +0000 (16:22 +0200)]
Remove incorrect assertion for MoveResizeTo

This caused gcc to assume the user never specifies a desktop by number,
which was not very helpful. Please crash when reaching an assert,
thanks.

13 months agoSometimes after reconfigure we forget this, so check again
Mikael Magnusson [Fri, 20 May 2022 14:12:50 +0000 (16:12 +0200)]
Sometimes after reconfigure we forget this, so check again

13 months agoBring back "Show desktop switch popup on every monitor"
Mikael Magnusson [Fri, 11 Oct 2019 15:51:54 +0000 (17:51 +0200)]
Bring back "Show desktop switch popup on every monitor"

This time remembering that screen_num_monitors can change.

13 months agoAllow moving to the current desktop, to show the desktop popup
Mikael Magnusson [Thu, 10 Oct 2019 09:40:53 +0000 (11:40 +0200)]
Allow moving to the current desktop, to show the desktop popup

13 months agoShow the menu id instead of the failed command
Mikael Magnusson [Sat, 24 Oct 2020 15:50:15 +0000 (17:50 +0200)]
Show the menu id instead of the failed command

13 months agoadd focusable/nonfocusable to If action
Mikael Magnusson [Sun, 23 Feb 2020 13:12:31 +0000 (14:12 +0100)]
add focusable/nonfocusable to If action

13 months agoAttempt to detect corrupted WM_NORMAL_HINTS
Mikael Magnusson [Sat, 2 Nov 2019 20:30:03 +0000 (21:30 +0100)]
Attempt to detect corrupted WM_NORMAL_HINTS

This will surely cause bugreports once 8K screens are common.

13 months agoMove anywhere if you can't resize the window
Mikael Magnusson [Tue, 29 Jan 2019 21:41:57 +0000 (22:41 +0100)]
Move anywhere if you can't resize the window

This makes it a lot easier to move fullscreen windows between monitors with
the Resize action.

13 months agoAllow setting absolute font sizes with <type>absolute</type>
Mikael Magnusson [Mon, 12 Mar 2018 14:02:16 +0000 (15:02 +0100)]
Allow setting absolute font sizes with <type>absolute</type>

Ie, pixel size instead of point size. (I think).

13 months agoAllow ignoring repeat events for a keybind
Mikael Magnusson [Fri, 16 Sep 2016 04:11:54 +0000 (06:11 +0200)]
Allow ignoring repeat events for a keybind

Useful for example for ALT-F4 and such bindings, where you don't want to
accidentally close every window on your desktop.

Requires XKB extension.

13 months agoNormalize all incoming UTF-8 to NFC
Mikael Magnusson [Thu, 13 Aug 2015 01:58:08 +0000 (03:58 +0200)]
Normalize all incoming UTF-8 to NFC

13 months agoSave screen_last_desktop to the root prop _OB_LAST_DESKTOP.
Mikael Magnusson [Wed, 27 Feb 2008 15:53:43 +0000 (16:53 +0100)]
Save screen_last_desktop to the root prop _OB_LAST_DESKTOP.

13 months agoRemove very old kde 3.5 ksplash call
Mikael Magnusson [Thu, 29 Dec 2022 19:42:07 +0000 (20:42 +0100)]
Remove very old kde 3.5 ksplash call

If you somehow still need this, I think you can just add
dcop ksplash "upAndRunning(Qstring)" "wm started"
to your autostart file or otherwise.

13 months agoAdd <menu><separateIconic> option
Mikael Magnusson [Thu, 29 Dec 2022 19:39:26 +0000 (20:39 +0100)]
Add <menu><separateIconic> option

Add option to change the client list menus back to separating iconified windows with a line instead of bracketing them.

13 months ago"Fix" releasing the mouse button over a window.
Mikael Magnusson [Fri, 8 Jan 2010 17:22:18 +0000 (18:22 +0100)]
"Fix" releasing the mouse button over a window.

Previously if you click-drag-released the left button on the root window to a client window,
Openbox would ignore the release because we don't own the client window. Now check if we
are in a button press or not before ignoring it. The bug was we would initiate a move when
the cursor was moved over a titlebar even when the button was unpressed because the variable
didn't get cleared properly.

This fix is very ugly.

13 months agoAdd FocusFallback action.
Mikael Magnusson [Sun, 9 Mar 2008 19:38:43 +0000 (20:38 +0100)]
Add FocusFallback action.

15 months agoMake Unfocus do what the name says.
Mikael Magnusson [Thu, 28 Feb 2008 18:43:07 +0000 (19:43 +0100)]
Make Unfocus do what the name says.

15 months agoAdd "de" option to Iconify action that makes it deiconify windows (useful while alt...
Mikael Magnusson [Mon, 23 Jul 2007 23:36:14 +0000 (01:36 +0200)]
Add "de" option to Iconify action that makes it deiconify windows (useful while alt-tabbing).

15 months agoAdd RaiseTemp action.
Mikael Magnusson [Wed, 16 Jan 2008 21:41:10 +0000 (22:41 +0100)]
Add RaiseTemp action.

This has the same effect as giving the <raise>yes</raise> option to next/prevwindow
but makes it optional and keybindable, so if W-Tab is nextwindow, you can have W-q
as raisetemp.

15 months agoDon't update hints when the title is the same.
Mikael Magnusson [Thu, 7 Feb 2008 15:15:45 +0000 (16:15 +0100)]
Don't update hints when the title is the same.

What I really wanted was to not redraw the titlebar but that seems much harder.

15 months agoAllow selecting the random placement strategy. The hunk for place.c that actually...
Mikael Magnusson [Mon, 23 Jul 2007 23:45:41 +0000 (01:45 +0200)]
Allow selecting the random placement strategy. The hunk for place.c that actually does this seems to have been lost somewhere on the way.

6 years agoAllow moving fullscreen windows between monitors master
Mikael Magnusson [Tue, 13 Mar 2018 00:28:49 +0000 (01:28 +0100)]
Allow moving fullscreen windows between monitors

6 years agoUpdate danish translation
Mikael Magnusson [Mon, 12 Mar 2018 13:55:13 +0000 (14:55 +0100)]
Update danish translation

6 years agoAdd esperanto translation
Richard Penman [Mon, 12 Mar 2018 13:48:38 +0000 (14:48 +0100)]
Add esperanto translation

6 years agoCompress motion events
Eric Anholt [Mon, 12 Mar 2018 13:21:14 +0000 (14:21 +0100)]
Compress motion events

6 years agoUpdate catalan translation
Toni Estévez [Mon, 12 Mar 2018 13:17:14 +0000 (14:17 +0100)]
Update catalan translation

6 years agoUpdate lithuanian translation
Mikael Magnusson [Mon, 12 Mar 2018 13:13:32 +0000 (14:13 +0100)]
Update lithuanian translation

6 years agoUpdate turkish translation
Muhammet Kara [Mon, 12 Mar 2018 13:10:46 +0000 (14:10 +0100)]
Update turkish translation

6 years agoUpdate catalan translation
Toni Estévez [Mon, 12 Mar 2018 13:07:45 +0000 (14:07 +0100)]
Update catalan translation

6 years agoBump stuff for 3.7
Mikael Magnusson [Mon, 12 Mar 2018 12:42:59 +0000 (13:42 +0100)]
Bump stuff for 3.7

6 years agoAdd fullscreen condition to If action
Mikael Magnusson [Sat, 1 Oct 2016 11:47:26 +0000 (13:47 +0200)]
Add fullscreen condition to If action

6 years agoShow class/name if window is unnamed
Mikael Magnusson [Tue, 18 Aug 2015 18:26:44 +0000 (20:26 +0200)]
Show class/name if window is unnamed

6 years agoPenalize #rects when placing
Mikael Magnusson [Tue, 11 Nov 2014 13:53:40 +0000 (14:53 +0100)]
Penalize #rects when placing

6 years agoAllow to use a pango font description string.
Mikael Magnusson [Tue, 29 Apr 2008 14:56:31 +0000 (16:56 +0200)]
Allow to use a pango font description string.

6 years agoCenter text in pager popup and make it at least as wide as it is high.
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.

6 years agoAdd grab option to <keybind> to not grab the keycombo.
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.

6 years agoDon't clobber loop variable with return value
Mikael Magnusson [Fri, 5 May 2017 17:57:15 +0000 (19:57 +0200)]
Don't clobber loop variable with return value

Fixes bug 6383.

7 years agoApply combined shape mask correctly
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.

8 years agoDirectional switching
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.

8 years agoAdd 'last' as a desktop target for if/foreach
Mikael Magnusson [Sun, 6 Sep 2015 22:24:03 +0000 (00:24 +0200)]
Add 'last' as a desktop target for if/foreach

8 years agolibobrender ABI changed since 3.5.2, bump .so version correctly release-3.6.1
Mikael Magnusson [Wed, 1 Jul 2015 09:14:56 +0000 (11:14 +0200)]
libobrender ABI changed since 3.5.2, bump .so version correctly

9 years agoForgot to check base size is set before using for ratio check release-3.6.0
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.

9 years agoAdd include of cairo.h when using librsvg review
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.

9 years agoUpdate version to 3.6
Mikael Magnusson [Tue, 3 Mar 2015 21:59:55 +0000 (22:59 +0100)]
Update version to 3.6

9 years agoAdd missing file so make distcheck passes
Mikael Magnusson [Tue, 3 Mar 2015 21:59:31 +0000 (22:59 +0100)]
Add missing file so make distcheck passes

9 years agoMerge branch 'master' of git://git.openbox.org/dana/openbox
Mikael Magnusson [Tue, 3 Mar 2015 21:37:21 +0000 (22:37 +0100)]
Merge branch 'master' of git://git.openbox.org/dana/openbox

9 years agoUpdate the gnome-session support for version 3.9.90 in Ubuntu Trusty
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.

9 years agoSpecial case for unusual monitor setup
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.

9 years agoUpdate CHANGELOG again.
Mikael Magnusson [Mon, 10 Nov 2014 18:05:09 +0000 (19:05 +0100)]
Update CHANGELOG again.

9 years agoRevert "Include rsvg-cairo.h for cairo-specific things"
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.

9 years agoUpdate Norwegian translation.
Michael Kjelbergvik Thung [Thu, 6 Nov 2014 09:43:20 +0000 (10:43 +0100)]
Update Norwegian translation.

9 years agoClarify versioning comment instructions in configure.ac
Mikael Magnusson [Thu, 6 Nov 2014 03:35:24 +0000 (04:35 +0100)]
Clarify versioning comment instructions in configure.ac

9 years agoClean up translation files
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)

9 years agoAdd Galician translation.
Javier Mancebo [Wed, 5 Nov 2014 09:32:13 +0000 (10:32 +0100)]
Add Galician translation.

9 years agoUpdate Polish translation.
Jakub Błażejczyk [Wed, 5 Nov 2014 09:20:53 +0000 (10:20 +0100)]
Update Polish translation.

9 years agoMove some more code around to make it shorter
Mikael Magnusson [Wed, 5 Nov 2014 17:31:49 +0000 (18:31 +0100)]
Move some more code around to make it shorter

9 years agoReduce length of theme.c a bit
Mikael Magnusson [Wed, 5 Nov 2014 12:22:56 +0000 (13:22 +0100)]
Reduce length of theme.c a bit

9 years agoMake theme.c indentation more locally consistent
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

9 years agoRemove wrong code from button mask loading code, bug 6065
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.

9 years agoOnly add xqueue listener fd once, bug 6326
Mikael Magnusson [Wed, 5 Nov 2014 08:58:34 +0000 (09:58 +0100)]
Only add xqueue listener fd once, bug 6326

9 years agoAllow selecting menu entries during menuHideDelay if you click again, bug 5501
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

9 years agoMove final frame adjust in flashing to timeout func
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.

9 years agoMake sure to reset all the GSource timer ids
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.

9 years agoUpdate my email address
Mikael Magnusson [Tue, 28 Oct 2014 05:20:51 +0000 (06:20 +0100)]
Update my email address

9 years agoFix some compiler warnings for ShowMenu
Mikael Magnusson [Tue, 28 Oct 2014 04:45:09 +0000 (05:45 +0100)]
Fix some compiler warnings for ShowMenu

9 years agoSome fixes found by coverity for things used before a null check
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.

9 years agoInitialize some stuff to 0 before taking their address
Mikael Magnusson [Tue, 28 Oct 2014 04:11:17 +0000 (05:11 +0100)]
Initialize some stuff to 0 before taking their address

9 years agoMove assignment to before break, hopefully this doesn't break stuff
Mikael Magnusson [Tue, 28 Oct 2014 04:18:03 +0000 (05:18 +0100)]
Move assignment to before break, hopefully this doesn't break stuff

9 years agoFix an if statement getting moved into a loop it shouldn't have
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.

9 years agoUse PANGO_UNDERLINE_SINGLE for rendering shortcuts
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.

9 years agoFix compile failure when X_HAVE_UTF8_STRING is not defined
Peter Åstrand [Tue, 28 Oct 2014 02:37:20 +0000 (03:37 +0100)]
Fix compile failure when X_HAVE_UTF8_STRING is not defined

9 years agoUse GString for appending strings
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.

9 years agoFix use after free in menu_entry_frame_free
Edward Sheldrake [Tue, 28 Oct 2014 00:28:35 +0000 (01:28 +0100)]
Fix use after free in menu_entry_frame_free

9 years agoFix copy paste typo in swap_byte_order
Pascal Terjan [Mon, 27 Oct 2014 23:50:20 +0000 (00:50 +0100)]
Fix copy paste typo in swap_byte_order

9 years agoUpdate CHANGELOG with changes so far
Mikael Magnusson [Fri, 24 Oct 2014 20:57:21 +0000 (22:57 +0200)]
Update CHANGELOG with changes so far

9 years agoMake desktop actions noninteractive
Mikael Magnusson [Mon, 27 Oct 2014 23:36:55 +0000 (00:36 +0100)]
Make desktop actions noninteractive

9 years agoRemove freshmeat related stuff from release script, the site is dead
Mikael Magnusson [Fri, 24 Oct 2014 23:21:48 +0000 (01:21 +0200)]
Remove freshmeat related stuff from release script, the site is dead

9 years agoClip client rect to monitor bounds while picking a corner for resizing
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

9 years agoChange some while loops to for loops in config.c
Mikael Magnusson [Thu, 23 Oct 2014 21:33:38 +0000 (23:33 +0200)]
Change some while loops to for loops in config.c

9 years agoAllow specifying several mousebinds in one go, like for keybinds
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

9 years agoMake RaiseLower work for the dock as well
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.

9 years agoAdd keyboard/rebindOnMappingNotify option
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.

9 years agoPass the GravityPoint as const* instead of by value
Mikael Magnusson [Mon, 6 Oct 2014 19:54:16 +0000 (21:54 +0200)]
Pass the GravityPoint as const* instead of by value

9 years agoLet the menu placement code know if the position was user specified
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

9 years agoMove common gravity application to screen.c
Mikael Magnusson [Mon, 6 Oct 2014 17:52:14 +0000 (19:52 +0200)]
Move common gravity application to screen.c

9 years agoResolve gravity coords in menuframe so it can use the widths
Mikael Magnusson [Mon, 6 Oct 2014 17:38:51 +0000 (19:38 +0200)]
Resolve gravity coords in menuframe so it can use the widths

9 years agoAdd <position> tag to ShowMenu action
Mikael Magnusson [Mon, 6 Oct 2014 16:21:38 +0000 (18:21 +0200)]
Add <position> tag to ShowMenu action

9 years agoFix negative relative coordinate placement
Mikael Magnusson [Mon, 6 Oct 2014 16:20:51 +0000 (18:20 +0200)]
Fix negative relative coordinate placement

9 years agodouble space
Mikael Magnusson [Mon, 6 Oct 2014 16:25:14 +0000 (18:25 +0200)]
double space

9 years agoFix thinko in if.c, *o in Stop can never be pointing at the right place.
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.

10 years agoFix typo in variable name
Mikael Magnusson [Thu, 10 Apr 2014 20:51:28 +0000 (22:51 +0200)]
Fix typo in variable name

10 years agoAvoid initializing a VLA of 0 length
Mikael Magnusson [Mon, 17 Feb 2014 16:55:16 +0000 (17:55 +0100)]
Avoid initializing a VLA of 0 length