Commit graph

7594 commits

Author SHA1 Message Date
96f64be368
tweak border behavior, don't focus cycle through minimized windows 2023-03-07 23:09:26 -07:00
Mikael Magnusson
9e8813e111 Add include of cairo.h when using librsvg
This should be compatible with both old and new librsvg versions.
2015-03-04 01:06:02 +01:00
Mikael Magnusson
718b4c75c4 Update version to 3.6 2015-03-03 22:59:55 +01:00
Mikael Magnusson
224ecd74f1 Add missing file so make distcheck passes 2015-03-03 22:59:31 +01:00
Mikael Magnusson
8bc0dcd7fb Merge branch 'master' of git://git.openbox.org/dana/openbox 2015-03-03 22:37:21 +01:00
Dana Jansens
288ef5896b 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.
2015-01-12 20:48:50 +01:00
Mikael Magnusson
d7568bc038 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.
2015-01-06 23:26:45 +01:00
Mikael Magnusson
9e4db4e63d Update CHANGELOG again. 2014-11-10 19:05:09 +01:00
Dana Jansens
efc7efcd42 Revert "Include rsvg-cairo.h for cairo-specific things"
This reverts commit effa8667e1.

This header is not public and we are not meant to include it.
2014-11-07 12:58:40 -05:00
Michael Kjelbergvik Thung
d4eb936394 Update Norwegian translation. 2014-11-06 10:43:20 +01:00
Mikael Magnusson
0239b5b61a Clarify versioning comment instructions in configure.ac 2014-11-06 04:35:24 +01:00
Mikael Magnusson
29a7d9b340 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)
2014-11-05 18:46:16 +01:00
Javier Mancebo
468a747134 Add Galician translation. 2014-11-05 18:46:16 +01:00
Jakub Błażejczyk
abe14c889c Update Polish translation. 2014-11-05 18:46:16 +01:00
Mikael Magnusson
24bb21a124 Move some more code around to make it shorter 2014-11-05 18:46:16 +01:00
Mikael Magnusson
35e92e4c2a Reduce length of theme.c a bit 2014-11-05 17:00:49 +01:00
Mikael Magnusson
10c276c6c2 Make theme.c indentation more locally consistent
Also removes some comments that is just the code with s/_/ /g
2014-11-05 17:00:49 +01:00
Mikael Magnusson
f1f5610cca 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.
2014-11-05 17:00:49 +01:00
Mikael Magnusson
4784b69bd5 Only add xqueue listener fd once, bug 6326 2014-11-05 09:59:15 +01:00
Mikael Magnusson
8944094f71 Allow selecting menu entries during menuHideDelay if you click again, bug 5501 2014-11-05 09:59:09 +01:00
Mikael Magnusson
28e85ea2b2 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.
2014-11-03 12:52:21 +01:00
Mikael Magnusson
031e3c13b4 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.
2014-11-03 12:10:44 +01:00
Mikael Magnusson
69dc27ed77 Update my email address 2014-10-28 06:20:51 +01:00
Mikael Magnusson
a68c41f504 Fix some compiler warnings for ShowMenu 2014-10-28 05:45:09 +01:00
Mikael Magnusson
122e2a81d3 Some fixes found by coverity for things used before a null check
In the second case, we actually check the wrong variable.
2014-10-28 05:42:28 +01:00
Mikael Magnusson
1491e196f3 Initialize some stuff to 0 before taking their address 2014-10-28 05:40:21 +01:00
Mikael Magnusson
0f705cfddb Move assignment to before break, hopefully this doesn't break stuff 2014-10-28 05:39:59 +01:00
Mikael Magnusson
1387b33394 Fix an if statement getting moved into a loop it shouldn't have
Found by coverity code analysis.
2014-10-28 04:34:21 +01:00
Mikael Magnusson
396198081e 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.
2014-10-28 04:14:24 +01:00
Peter Åstrand
d6797e53b4 Fix compile failure when X_HAVE_UTF8_STRING is not defined 2014-10-28 04:14:24 +01:00
Mikael Magnusson
088524f016 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.
2014-10-28 04:14:24 +01:00
Edward Sheldrake
26951b0d4c Fix use after free in menu_entry_frame_free 2014-10-28 04:14:24 +01:00
Pascal Terjan
130075de74 Fix copy paste typo in swap_byte_order 2014-10-28 04:14:24 +01:00
Mikael Magnusson
7a6c559948 Update CHANGELOG with changes so far 2014-10-28 04:14:24 +01:00
Mikael Magnusson
bcfc71a673 Make desktop actions noninteractive 2014-10-28 04:14:24 +01:00
Mikael Magnusson
8543e5746c Remove freshmeat related stuff from release script, the site is dead 2014-10-28 04:14:23 +01:00
Mikael Magnusson
bf5357f9fb 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
2014-10-28 04:14:23 +01:00
Mikael Magnusson
fe6453b40b Change some while loops to for loops in config.c 2014-10-23 23:45:38 +02:00
Mikael Magnusson
d6985fd996 Allow specifying several mousebinds in one go, like for keybinds
Also fixes minor indent error
2014-10-23 23:11:27 +02:00
Mikael Magnusson
6273bf2e94 Make RaiseLower work for the dock as well
As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
2014-10-20 10:28:00 +02:00
Mikael Magnusson
7b3dc69468 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.
2014-10-20 10:28:00 +02:00
Mikael Magnusson
39dfb7458a Pass the GravityPoint as const* instead of by value 2014-10-11 02:13:49 +02:00
Mikael Magnusson
d3359676e4 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
2014-10-06 22:05:26 +02:00
Mikael Magnusson
1b3afcff1f Move common gravity application to screen.c 2014-10-06 22:05:26 +02:00
Mikael Magnusson
c5c5b7b455 Resolve gravity coords in menuframe so it can use the widths 2014-10-06 22:05:26 +02:00
Mikael Magnusson
238ab3f742 Add <position> tag to ShowMenu action 2014-10-06 22:05:26 +02:00
Mikael Magnusson
2d289312ba Fix negative relative coordinate placement 2014-10-06 22:05:26 +02:00
Mikael Magnusson
e02c2f4174 double space 2014-10-06 22:05:26 +02:00
Mikael Magnusson
1ea131048d Fix thinko in if.c, *o in Stop can never be pointing at the right place.
Use a file static boolean instead.
2014-04-25 00:27:06 +02:00
Mikael Magnusson
d8f1ef057b Fix typo in variable name 2014-04-10 22:51:55 +02:00