summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-05Reduce length of theme.c a bitMikael Magnusson
2014-11-05Make theme.c indentation more locally consistentMikael Magnusson
Also removes some comments that is just the code with s/_/ /g
2014-11-05Remove wrong code from button mask loading code, bug 6065Mikael Magnusson
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-05Only add xqueue listener fd once, bug 6326Mikael Magnusson
2014-11-05Allow selecting menu entries during menuHideDelay if you click again, bug 5501Mikael Magnusson
2014-11-03Move final frame adjust in flashing to timeout funcMikael Magnusson
This possibly avoids badness when the timeout destroy notify is removed from the frame release func.
2014-11-03Make sure to reset all the GSource timer idsMikael Magnusson
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-10-28Update my email addressMikael Magnusson
2014-10-28Fix some compiler warnings for ShowMenuMikael Magnusson
2014-10-28Some fixes found by coverity for things used before a null checkMikael Magnusson
In the second case, we actually check the wrong variable.
2014-10-28Initialize some stuff to 0 before taking their addressMikael Magnusson
2014-10-28Move assignment to before break, hopefully this doesn't break stuffMikael Magnusson
2014-10-28Fix an if statement getting moved into a loop it shouldn't haveMikael Magnusson
Found by coverity code analysis.
2014-10-28Use PANGO_UNDERLINE_SINGLE for rendering shortcutsMikael Magnusson
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-28Fix compile failure when X_HAVE_UTF8_STRING is not definedPeter Åstrand
2014-10-28Use GString for appending stringsMikael Magnusson
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-28Fix use after free in menu_entry_frame_freeEdward Sheldrake
2014-10-28Fix copy paste typo in swap_byte_orderPascal Terjan
2014-10-28Update CHANGELOG with changes so farMikael Magnusson
2014-10-28Make desktop actions noninteractiveMikael Magnusson
2014-10-28Remove freshmeat related stuff from release script, the site is deadMikael Magnusson
2014-10-28Clip client rect to monitor bounds while picking a corner for resizingMikael Magnusson
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-23Change some while loops to for loops in config.cMikael Magnusson
2014-10-23Allow specifying several mousebinds in one go, like for keybindsMikael Magnusson
Also fixes minor indent error
2014-10-20Make RaiseLower work for the dock as wellMikael Magnusson
As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
2014-10-20Add keyboard/rebindOnMappingNotify optionMikael Magnusson
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-11Pass the GravityPoint as const* instead of by valueMikael Magnusson
2014-10-06Let the menu placement code know if the position was user specifiedMikael Magnusson
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-06Move common gravity application to screen.cMikael Magnusson
2014-10-06Resolve gravity coords in menuframe so it can use the widthsMikael Magnusson
2014-10-06Add <position> tag to ShowMenu actionMikael Magnusson
2014-10-06Fix negative relative coordinate placementMikael Magnusson
2014-10-06double spaceMikael Magnusson
2014-04-25Fix thinko in if.c, *o in Stop can never be pointing at the right place.Mikael Magnusson
Use a file static boolean instead.
2014-04-10Fix typo in variable nameMikael Magnusson
2014-04-10Avoid initializing a VLA of 0 lengthMikael Magnusson
2014-04-10Declare variables at start of blocks in place.cMikael Magnusson
2014-04-10Break loop if is_true was set to false in IfMikael Magnusson
2014-04-10Don't segfault when there's no target in IfMikael Magnusson
2014-04-10Some fixes in french translationMikael Magnusson
2014-04-10Cache results of offset/shift functions so we don't do 6 function calls per ↵Derek Foreman
pixel when reducing color depth
2014-01-09Fix gcc warnings in screen.cRafael Ignacio Zurita
2014-01-09Added missing break statement (Bug 6043)Markus Roesch
2013-09-09Add a strict option to the ToggleShowDesktop actionDana Jansens
When the strict option is used, normal windows are not able to show themselves while showing the desktop.
2013-09-08Portuguese update for openboxSérgio Marques
2013-09-02Allow FillToEdge to grow when all its edges are blocked.Dana Jansens
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-02Clean up the FillToEdge action implementationDana Jansens
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-02Created a 'GrowToFill' action. (Bug 3356)Lucas Augusto Deters
2013-09-02Use the BSEARCH() macro in overlap placementDana Jansens
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.
2013-09-01Fix bugs and add unit tests for BSEARCH()Dana Jansens
Also adds running unit tests to the release/go script so we can be sure that all tests pass before we make a release.