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
Mikael Magnusson
76113b8a06
Avoid initializing a VLA of 0 length
2014-04-10 22:29:01 +02:00
Mikael Magnusson
9fb4b56ba9
Declare variables at start of blocks in place.c
2014-04-10 22:29:01 +02:00
Mikael Magnusson
f469a46da1
Break loop if is_true was set to false in If
2014-04-10 22:29:01 +02:00
Mikael Magnusson
a8a2375c44
Don't segfault when there's no target in If
2014-04-10 22:29:01 +02:00
Mikael Magnusson
835ef3253f
Some fixes in french translation
2014-04-10 22:29:01 +02:00
Derek Foreman
540c53eeab
Cache results of offset/shift functions so we don't do 6 function calls per pixel when reducing color depth
2014-04-10 22:29:01 +02:00
Rafael Ignacio Zurita
33caeb559e
Fix gcc warnings in screen.c
2014-01-09 14:56:34 -05:00
Markus Roesch
c7a458b5ad
Added missing break statement (Bug 6043)
2014-01-09 14:55:09 -05:00
Dana Jansens
7b408bc3b8
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.
2013-09-09 10:47:43 -04:00
Sérgio Marques
adcb7a78d9
Portuguese update for openbox
2013-09-08 11:43:56 -04:00
Dana Jansens
e6a0beb34b
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.
2013-09-02 14:10:37 -04:00
Dana Jansens
f5e9df18a4
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).
2013-09-02 14:10:37 -04:00
Lucas Augusto Deters
f757e7449f
Created a 'GrowToFill' action. (Bug 3356)
2013-09-02 14:10:37 -04:00