mikachu/openbox.git
13 months agoAllow moving fullscreen windows between monitors wip/mikabox
Mikael Magnusson [Tue, 13 Mar 2018 00:28:49 +0000 (01:28 +0100)]
Allow moving fullscreen windows between monitors

13 months agoBring back "Show desktop switch popup on every monitor"
Mikael Magnusson [Mon, 12 Mar 2018 21:08:38 +0000 (22:08 +0100)]
Bring back "Show desktop switch popup on every monitor"

This reverts commit 5f2182c33ba5e716885f096bfe498620d111908c.

13 months agoMerge branch 'work' into wip/mikabox
Mikael Magnusson [Mon, 12 Mar 2018 14:03:53 +0000 (15:03 +0100)]
Merge branch 'work' into wip/mikabox

13 months agoSome cool changes surely
Mikael Magnusson [Mon, 12 Mar 2018 14:02:16 +0000 (15:02 +0100)]
Some cool changes surely

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

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

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

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

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

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

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

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

13 months 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

13 months 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

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

13 months 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.

13 months 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.

13 months 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.

23 months 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.

2 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.

2 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.

2 years agoDon't uniconify locked windows via _NET_ACTIVE_WINDOW
Mikael Magnusson [Sat, 1 Oct 2016 11:53:27 +0000 (13:53 +0200)]
Don't uniconify locked windows via _NET_ACTIVE_WINDOW

2 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

2 years 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

2 years agoUnity is bad
Mikael Magnusson [Thu, 19 May 2016 18:24:53 +0000 (20:24 +0200)]
Unity is bad

3 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.

3 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

3 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

3 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

3 years 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

3 years agolibobrender ABI changed since 3.5.2, bump .so version correctly master 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

4 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.

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

4 years agoAdd a fixme for busted fallback of minsize/basesize
Mikael Magnusson [Sun, 22 Mar 2015 12:55:53 +0000 (13:55 +0100)]
Add a fixme for busted fallback of minsize/basesize

4 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.

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

4 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

4 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

4 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.

4 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.

4 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.

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

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

4 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.

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

4 years agoMerge branch 'work' into wip/mikabox
Mikael Magnusson [Thu, 6 Nov 2014 03:51:26 +0000 (04:51 +0100)]
Merge branch 'work' into wip/mikabox

Conflicts:
openbox/config.c

4 years agoMerge branches 'wip/edges', 'mikabox/crap', 'mikabox/lock', 'mikabox/maybe' and ...
Mikael Magnusson [Thu, 6 Nov 2014 03:50:55 +0000 (04:50 +0100)]
Merge branches 'wip/edges', 'mikabox/crap', 'mikabox/lock', 'mikabox/maybe' and 'mikabox/personal' into wip/mikabox

Conflicts:
obt/prop.c
openbox/client_list_combined_menu.c
openbox/event.c

4 years agoAllow specifying several mousebinds in one go (hack) mikabox/maybe
Mikael Magnusson [Mon, 16 Aug 2010 01:24:15 +0000 (03:24 +0200)]
Allow specifying several mousebinds in one go (hack)

Doesn't handle trivial stuff like multiple spaces, it's 3:24am so no guarantees otherwise either.

4 years agoStart on the second entry...
Mikael Magnusson [Sun, 8 Feb 2009 16:35:35 +0000 (17:35 +0100)]
Start on the second entry...

4 years agoOnly warp on menu close if it was also the top level menu.
Mikael Magnusson [Fri, 8 Jan 2010 18:47:56 +0000 (19:47 +0100)]
Only warp on menu close if it was also the top level menu.

4 years agoThis might be a little bit better.
Mikael Magnusson [Mon, 7 Jul 2008 20:34:55 +0000 (22:34 +0200)]
This might be a little bit better.

At least it consistently doesn't run the openbox action.

4 years 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.

4 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

4 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)

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

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

4 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

4 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

4 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

4 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.

4 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

4 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

4 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.

4 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.

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

4 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

4 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.

4 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

4 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

4 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.

4 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.

4 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

4 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.

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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.

4 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.

4 years ago[0]. is confusing when it's not an array wip/edges
Mikael Magnusson [Thu, 18 Apr 2013 11:10:29 +0000 (13:10 +0200)]
[0]. is confusing when it's not an array

4 years agoReinit edges stuff on screen resize
Mikael Magnusson [Thu, 18 Apr 2013 11:08:11 +0000 (13:08 +0200)]
Reinit edges stuff on screen resize

4 years agoedges should hook into number of screens changing, but for now, don't crash at reconf...
Mikael Magnusson [Sun, 7 Apr 2013 09:59:07 +0000 (11:59 +0200)]
edges should hook into number of screens changing, but for now, don't crash at reconfigure/shutdown if they did

4 years agoHandle edges in window.c
Mikael Magnusson [Wed, 17 Apr 2013 11:08:33 +0000 (13:08 +0200)]
Handle edges in window.c

4 years agoAllow clients to place themselves up to 99% offscreen. mikabox/personal
Mikael Magnusson [Fri, 26 Sep 2014 08:45:17 +0000 (10:45 +0200)]
Allow clients to place themselves up to 99% offscreen.

Really what I want is keep the 10% but let them stay if they were already there. Most noticably steam jumps back to the 10% limit whenever you click anywhere because it stupidly moves itself to where it already is when you click anywhere inside it.

4 years agoedges: do something clever with xinerama
Mikael Magnusson [Wed, 13 Jun 2012 03:41:17 +0000 (05:41 +0200)]
edges: do something clever with xinerama

This is useful now that X actually constrains the cursor to visible
areas of the screen, so you have a chance of hitting edges and possibly
corners too. More cleverness is possible, should not map edges where
there is a screen on both sides probably.

4 years agodunno why this was lying around as an uncommitted change..
Mikael Magnusson [Tue, 10 Jan 2012 01:20:05 +0000 (02:20 +0100)]
dunno why this was lying around as an uncommitted change..

4 years agoWIP version 3 of edges thinger
Mikael Magnusson [Wed, 5 Sep 2007 01:54:24 +0000 (03:54 +0200)]
WIP version 3 of edges thinger

This is lets you bind actions to clicking on screen edges/corners.
Eventually it should also let you bind hovering or entering/leaving and
whatnot.

4 years agoStop moving stuff onscreen when the screen size changes
Mikael Magnusson [Wed, 31 Mar 2010 23:44:29 +0000 (01:44 +0200)]
Stop moving stuff onscreen when the screen size changes

4 years agoListen to key press events on the support window
Mikael Magnusson [Sun, 5 Jul 2009 15:07:18 +0000 (17:07 +0200)]
Listen to key press events on the support window

This allows us to make binds that are only active when no clients are
focused with the grab=no option. However, this will mean that these
binds will also be launched if the keyboard is otherwise grabbed, for
example during alt-tab or when showing a menu.

4 years agoDo focus menus with the mouse.
Mikael Magnusson [Tue, 20 May 2008 16:22:24 +0000 (18:22 +0200)]
Do focus menus with the mouse.

4 years agoCrazy focus model.
Mikael Magnusson [Fri, 8 Jan 2010 17:06:56 +0000 (18:06 +0100)]
Crazy focus model.

4 years agoI can drag on buttons.
Mikael Magnusson [Sat, 8 Mar 2008 16:19:38 +0000 (17:19 +0100)]
I can drag on buttons.

4 years 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.

4 years agoResist on skip_taskbar windows too
Mikael Magnusson [Thu, 26 Jul 2007 06:19:14 +0000 (08:19 +0200)]
Resist on skip_taskbar windows too

4 years agoMake the menu pop up centered below the mouse pointer.
Mikael Magnusson [Mon, 23 Jul 2007 23:53:59 +0000 (01:53 +0200)]
Make the menu pop up centered below the mouse pointer.

also move the menu one pixel down so you can click and the menu doesn't stick.

4 years agoAdd a _OB_FOCUS client message for obpanel to use.
Mikael Magnusson [Wed, 22 Aug 2007 21:58:57 +0000 (23:58 +0200)]
Add a _OB_FOCUS client message for obpanel to use.