aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-09-21only call applySizeHints when desiredThomas Lübking1-3/+2
passing the "make_fit" parameter isn't sufficient to ignore constraints
2016-09-11resolve handle/grip context conflictThomas Lübking1-1/+6
2016-08-27Control OnTitlebar ./. OnWindowThomas Lübking1-1/+6
On concurrent shortcuts OnTitlebar implies OnWindow and was so far resolved to OnWindow while OnTitlebar is the more precise condition. This also requires to exclude buttons from the titlebar context, ie. pass the position to the getContext function on press events BUG: 1035 The patch depends on the patch to correctly resolve the tab under the mouse since we're now passing the actual subwindows around
2016-08-27apply size hints when applying the stateThomas Lübking1-3/+5
There's a setting about maximization which allows to control whether the resize increments should be honored when maximizing windows. This is currently used to control whether maximized windows may resize themselves via (rare) configure events, but not when maximizing windows - what's somehow not what the config item sells. BUG: 914
2016-07-30allow to force moveResize and use on applyStateThomas Lübking1-4/+4
applyState also requires some updates implied by moveResize, notably the reconfigure, the setBackground on the window etcetc. Instead of testing what'd be missing from a moveResize, we just force the latter to apply even when seeming unrequired. This has notable impact when switching fullscreen state for a window with fullscreen dimensions. BUG: 992
2016-06-26replace FbRootWindow::depth with maxDepthThomas Lübking1-2/+2
The depth member of FbWindow was abused to store the maximum depth but that gets overridden with geometry changes of the root window (screen layout changes) so we store and read the value explicitly while ::depth() maintains the actual depth of the root window The result of this is that frames for ARGB windows were created with a wrong depth and failed to reparent the client window. BUG: 1102 BUG: 1058
2015-02-08Fix: typo during refactoringArkadiusz Bokowy1-2/+2
Commit 63d9d69 introduced a bug, which has manifested itself by setting window transparent state to the fully opaque (255).
2015-02-01Fix regression: use proper texture for the gripsMathias Gumz1-10/+8
2015-01-24CleanupMathias Gumz1-58/+60
2015-01-23Refactor FbWinFrameMathias Gumz1-473/+304
FbWinFrame is now simpler to read due to less overall noise.
2012-11-07Adds the OnTab keyword for the keys fileJulien Viard de Galbert1-0/+49
Adding the following lines to the keys file restore the old behaviour to use Mouse2 on tabs to start tabbing, and keep OnTitlebar Mouse2 to lower the window. OnTab Mouse2 :StartTabbing OnTab Move1 :StartMoving Note: Internal tabs are triggering both OnTab and OnTitlebar events.
2011-10-20Added support for ARGB visual, patch #3284774Gediminas Liktaras1-8/+24
fluxbox now properly displays windows that require ARGB visuals when an external compositor is running. This was done by creating the container window with the correct visual and colormap when needed. Closes #2874629
2011-05-10Convert FbWinFrame::frameExtentSig to FbTk::SignalPavel Labath1-3/+3
Also, I spotted a potential bug in the code. I marked the place with XXX. Someone should take a look at that.
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-1/+1
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-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz1-10/+12
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
2010-09-15code deduplication by using <algorithm> and FbTk/STLUtil.hhMathias Gumz1-13/+7
2010-09-13cosmetic code cleaningMathias Gumz1-10/+3
* use FbTk::StringUtil::number2String() to avoid 'sprintf' * use FbTk::Util::clamp() * use FbTk::STLUtil::destroyAndClear() * whitespaces
2010-09-08introduced FbTk::BidiStringMathias Gumz1-1/+1
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-05-23mostly cosmetic fixes, mainly discovered by 'clang --analyze'Mathias Gumz1-1/+1
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
2009-01-11fixed resize bug (caused by typo, see #2498507)Peter Hercek1-1/+1
2008-10-15additional fix for the resize bugMathias Gumz1-1/+3
2008-10-04fix flickering of shaped windows on focus changesMark Tiefenbruck1-6/+0
2008-09-21re-fix maximizing problem with non-northwest gravity windowsMark Tiefenbruck1-2/+3
2008-09-21fix placement of windows with non-default decorationsMark Tiefenbruck1-0/+1
2008-09-14some minor code cleaning.Henrik Kinnunen1-0/+7
2008-09-11fix program crashes caused by unshadingMark Tiefenbruck1-1/+2
2008-09-03fix maximize/fullscreen for windows with non-Northwest gravityMark Tiefenbruck1-3/+3
2008-08-27move some things from FluxboxWindow to WindowStateMark Tiefenbruck1-4/+3
2008-08-27make FbWinFrame and FluxboxWindow share a WindowState objectMark Tiefenbruck1-37/+6
2008-08-27move FbWinFrame::State class to a new fileMark Tiefenbruck1-289/+14
2008-08-23fix for restoring horizontally or vertically resized windowsMark Tiefenbruck1-5/+8
2008-08-23resize maximized windows when the toolbar or slit changes sizeMark Tiefenbruck1-4/+3
2008-08-22allow various combinations of shaded, maximized, and fullscreen statesMark Tiefenbruck1-42/+40
2008-08-22be a little smarter about size hints in tabbed windowsMark Tiefenbruck1-2/+4
2008-08-22remove borders from maximized windowsMark Tiefenbruck1-1/+2
2008-08-22move fullscreen and maximization handling to FbWinFrameMark Tiefenbruck1-0/+72
2008-08-22don't apply rounded corners to windows without decorationsMark Tiefenbruck1-19/+11
2008-08-21make Swing apps only somewhat horribly broken againMark Tiefenbruck1-6/+0
2008-08-21some cleanupMark Tiefenbruck1-9/+7
2008-08-18add top, left, right, and bottom center tab placement optionsMark Tiefenbruck1-1/+46
2008-08-16some cleanupMark Tiefenbruck1-6/+6
2008-08-16move interpretation of normal hints to size hint classMark Tiefenbruck1-7/+60
2008-08-15fix compilationMark Tiefenbruck1-6/+8
2008-08-15let FbWinFrame handle decorations in fullscreen stateMark Tiefenbruck1-6/+30
2008-08-15move getDecoMaskFromString to FbWinFrameMark Tiefenbruck1-0/+20
2008-08-15group some window properties into a new class FbWinFrame::StateMark Tiefenbruck1-31/+28
2008-08-15move some frame size calculations to FbWinFrameMark Tiefenbruck1-3/+17
2008-08-15aspect ratios should take base size into account, fix size hint initializationMark Tiefenbruck1-37/+57
2008-08-15move size hint code to methods in size hint struct, restructure them a littleMark Tiefenbruck1-132/+121
2008-08-15move size hint code to FbWinFrameMark Tiefenbruck1-0/+132