aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-03-28compile fix: added <cstdlib> to provide declaration for 'size_t' (gcc-4.6.x ↵Daniel Diaz3-0/+3
likes it that way)
2011-03-23compile fix: arguments must match declarationMathias Gumz1-4/+4
Sun CC++ 5.11 complaint on linking about missing symbols 'nextWorkspace()', 'prevWorkspace()' etc.
2011-03-23removed useless codeMathias Gumz1-6/+2
2011-03-23cosmeticsMathias Gumz2-6/+6
2011-03-23compile fix: sunCC again, wants a compile time constant for arraysMathias Gumz1-2/+2
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz25-108/+106
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'. 'ResourceLayer' sounds crappy, but that was the best I could come up with right now.
2011-03-19mergeMathias Gumz1-3/+11
2011-03-19code cleanup: moved code from public API to implementationMathias Gumz4-115/+108
renamed 'Region' to 'Area' to avoid conflicts with 'Region' from Xlib.
2011-03-19delete config menu first at shutdownHenrik Kinnunen1-3/+11
2011-03-19bugfix: reposition windows only if they are invisibleMathias Gumz1-4/+19
changing the layout or the number of the attached monitors might lead to invisible windows. only those windows should be positioned to the closest monitor, if they are not visible already.
2011-03-19code deduplication: use RectangleUtil::insideBorder()Mathias Gumz1-4/+1
2011-03-19prepare BScreen::XineramaHeadInfo to be 'RectangleLike'Mathias Gumz2-10/+15
2011-03-19added RectangleUtil::overlapRectangles() + test casesMathias Gumz2-0/+99
2011-03-18added tests/testRectangleUtil.ccMathias Gumz2-1/+69
2011-03-18some love to src/tests, use automake to use the same build environment as ↵Mathias Gumz8-260/+63
the rest of fluxbox
2011-03-18compile fix for clang, forward declaration of FocusControl was not enoughMathias Gumz2-2/+3
2011-03-18compiler cosmetic: changed return type of ↵Mathias Gumz2-2/+2
ScreenPlacement::placeAndShowMenu() to void, closes #3204402
2011-03-15bugfix: do not use anything from the current ClientMenuItem after ↵Mathias Gumz1-2/+4
m_client.focus(), closes #3210493 m_client.focus() might call ~ClientMenuItem(), thus m_client is not available anymore. the crash was triggered by trying to deiconify a client via the clientmenu. this triggers a signal to remove and destroy the current ClientMenuItem.
2011-03-01fix misordered Toolbar::Placement strings, closes 3195721Mathias Gumz1-3/+3
2011-02-25bugfix: submenus didn't hide if a delay was setMathias Gumz2-3/+3
use the FbTk::Timer API correctly, bug(s) introduced by 1f0adef4daa2da5b08ed7f41e7a0ce1e3f71e46f e68511794130388ab9668fdef0dcf48dbbf002fd
2011-02-24cache result of getWorkspace()Mathias Gumz1-2/+3
2011-02-24better solution for warping transient windowsMathias Gumz2-2/+7
see #3088856 / 09f99a4674a75a201effdc912d79a28c2dad4225. at the moment this fix looks side-effect free, time will tell.
2011-02-24intermediate fix for segfault when warping transient windows to different ↵Mathias Gumz1-1/+1
workspace, see #3088856 warping a transient window to the next workspace creates a cycle between BScreen::changeWorkspaceID(), BScreen::reassociateWindow(), Workspace::removeWindow(), FocusControl::unfocusWindow(), FluxboxWindow::setCurrentClient(), FluxboxWindow::focus() and so on. for now we just stop allowing transient windows to be warped, it is most likely a bad idea anyway having the modal dialog on one workspace and the (dead) main window on another one. this issue must be analyzed further, since there might be a deeper problem with the way the focus code works.
2011-02-24fix calculating the width / height of SystemTray (closes #3150939)Mathias Gumz1-2/+2
2011-02-24SystemTray tool should use the right fallback resourceMathias Gumz1-1/+1
2011-02-24removed unused headersMathias Gumz1-4/+0
2011-02-24moved Menu placement into ScreenPlacement::placeAndShowMenu()Mathias Gumz8-103/+88
2011-02-24little helper function 'isTitleVisible()' for FbTk::MenuMathias Gumz1-0/+1
2011-02-24code deduplicationMathias Gumz1-27/+20
2011-02-23bugfix: place WindowMenu correctly upon first call (closes #2731524)Mathias Gumz1-1/+2
FbTk::Menu::updateMenu() recalculates the width() and height() of the window. this must be done before the menu is moved to fit completely onto the screen. the 'menu().raise()' command is not needed, that is done inside 'menu().show()' already.
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz28-379/+229
2011-02-23disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem'Mathias Gumz9-21/+30
had to add <algorithm> at various other files as a result of this change.
2011-02-23irrelevant 'virtual' destructorMathias Gumz1-1/+1
2011-02-23code deduplicationMathias Gumz3-94/+68
2011-02-23updated year and copyright infoMathias Gumz1-2/+2
2011-02-23almost 10 years of fluxboxMathias Gumz1-1/+1
2011-02-23merged crash fixHenrik Kinnunen1-4/+3
2011-02-23Fixed possible crash issue when getting an unmap before a focus in event.Henrik Kinnunen1-4/+3
The issue was caused by a client that got an unmap notify and had a FocusIn event directly after in the event queue. The focus in event was handled by Fluxbox::revertFocus before the WinClient.cc removed itself from the search window list.
2011-02-22moved rarely used 'cpccpc' out of class declarationMathias Gumz2-12/+13
2011-02-22don't use hardcoded references to positions in the menuMathias Gumz2-11/+16
2011-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz26-61/+65
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
2011-02-22bugfix: render 'sunken' gradients correctlyMathias Gumz1-1/+1
2011-02-22use FbTk::StringUtil APIMathias Gumz1-15/+4
2011-02-22renamed Texture:DEFAULT_BEVEL to Texture::DEFAULT_LEVELMathias Gumz3-3/+3
2011-02-22cosmeticsMathias Gumz1-15/+6
2011-02-22Bugfix: don't render textures with dimension of 0Mathias Gumz1-1/+4
At least 'invertRGB()' does not like 'width' or 'height' being 0. 341b2f43e511e39dd was triggered by this problem as well.
2011-02-21Render rectangles instead of squares to test TextureRender.ccMathias Gumz1-13/+9
2011-02-21Fix bug: 'src_image' might be NULL if width||height are 0 (#3188223)Mathias Gumz1-40/+49
With ROT90-SystemTray fluxbox crashed. It is a bit unclear of where to catch pixmaps / windows with either width or height equal to 0; IMHO this needs more investigation.
2011-02-20Fixed a possible crash when using a slot m_holder = 0Henrik Kinnunen1-5/+9
2011-02-03allow to override 'FocusNewWindow' via .fluxbox/appsPeter Hercek3-0/+26