aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
AgeCommit message (Collapse)AuthorFilesLines
2016-09-21show tooltips for tabsThomas Lübking1-0/+1
on the run (yes sucks, sorry) fixes a bug where windows were not activated on hovering the tab (for focus-follows-mouse policies) REQUEST: 95 The iconbar already shows tooltips and I doubt the claim that (untabbed) titlebars are "often" too short for the window title.
2016-09-01delay mouse driven tab focus by autoraise intervalThomas Lübking1-0/+1
REQUEST: 190
2016-06-26merge remember focusnew into focusprotectionThomas Lübking1-3/+7
The FocusNewWindow key is still read, but not written and OVERRIDDEN in case of conflict with the FocusProtection key
2016-06-26Add FocusProtection featuresThomas Lübking1-0/+17
The apps file gets a new key FocusProtection supporting a comma separated list. * None : regular behavior * Lock : If this window has the focus, no other may claim it * Deny : This window is not allowed to focus itself I addition there's preparation for a follow-up patch to incorporate and substitute the present FocusNewWindow feature: * Gain : Pass focus to new window * Refuse : Do not pass focus to new window rationale: clients stealing the focus sucks badly and while there's an input driven timeout, that only protects actual typing flow, but if eg. vlc proceeds on the playlist, you'll suddenly control vlc instead of your browser (ie. typing ctrl+w doesn't close the tab, but the playlist ...)
2016-01-04Add Resize SnapNephiel1-1/+1
Make windows snap to edges when resizing them, as well as when moving. From http://darkshed.net/files/patches/fluxbox/fluxbox-resize-snap-try2.diff
2015-01-22CosmeticMathias Gumz1-0/+1
2012-10-04Add support for nearest corner or edge resizingMichael Abbott1-3/+2
2012-08-28changed timing functions to use a monotonic increasing clockMathias Gumz1-5/+4
gettimeofday() is subject to be changed on daylight-saving or to ntp-related (think leap-seconds). even worse, it is subject to be changed BACK in time. this is hard to fix correctly (see commit 45726d3016e and bug #3560509). it is irrelevant for timers to know the nano-seconds since the epoch anyways.
2012-07-07make alt-tab skip modal windowsMark Tiefenbruck1-0/+1
2012-04-06Allow percentage values for some Window commandsLajos Koszti1-0/+2
2011-05-10Remove all trace of Observers and SubjectsPavel Labath1-3/+0
this marks the completion of the transition to FbTk::Signal
2011-05-10Convert FbWinFrame::frameExtentSig to FbTk::SignalPavel Labath1-12/+2
Also, I spotted a potential bug in the code. I marked the place with XXX. Someone should take a look at that.
2011-05-10Convert FluxboxWindow::hintSig to FbTk::SignalPavel Labath1-4/+2
2011-05-10Convert FluxboxWindow::layerSig to FbTk::SignalPavel Labath1-5/+3
2011-05-10Convert FluxboxWindow::stateSig to FbTk::SignalPavel Labath1-4/+2
2011-05-10Convert FluxboxWindow::workspaceSig to FbTk::SignalPavel Labath1-4/+3
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-0/+2
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
2011-05-08Can check CARDINAL properties in CLIENT PATTERNSnacitar sevaht1-1/+2
Introduces a new member function, FbWindow::cardinalProperty() This change also changes other code that previously used FbWindow::property() to do the same thing as the new function; this reduces code duplication. There are still some bits of code (Ewmh.cc, extractNetWmIcon()) that use FbWindow::property() to retrieve XA_CARDINAL values, but as the new method is designed for getting a _single_ property, and that code uses FbWindow::property() to retrieve the number of values present, and then grab all of them; it's a different use case. I opted to not try to make cardinalProperty() into some monolithic all-purpose cardinal method; FbWindow::property() works just fine for that. This change also adds an optional (default=NULL) boolean to FbWindow::textProperty and friends that allows the caller to determine whether or not a value was actually retrieved. This was necessary for integrating FbWindow::cardinalProperty with the codebase, and it seemed to fit with FbWindow::textProperty as well. Prior to this change, if you got a return value of "", you wouldn't know if you successfully retrieved the value which happened to be blank, or if you failed to retrieve the value. Now, you can pass the address of a boolean if you so choose in order to differentiate these situations; the same applies to the new FbWindow::cardinalProperty().
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-7/+6
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-18compile fix for clang, forward declaration of FocusControl was not enoughMathias Gumz1-1/+1
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-4/+4
2011-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz1-5/+5
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-03allow to override 'FocusNewWindow' via .fluxbox/appsPeter Hercek1-0/+1
2010-09-11added 'SetXProp' action and (@PROP=foo) clientpatternMathias Gumz1-0/+1
these two allow 'tagging' of arbitrary windows with 'tags' (or 'labels'). such 'tagged' windows can then be used in ':NextWindow (@PROP=foo)' commands to quickly cycle through a subset of available windows. since the 'tags' are applied as real xproperties to a window they survive a restart of fluxbox or even another windowmanager. the user can also set the tags by using xprop(1). the next step regarding the UI should be to visualize the tags of a window.
2010-09-08introduced FbTk::BidiStringMathias Gumz1-3/+3
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-08-20implemented 'ActivateTab' action to (re)allow activation of tabs via mouseMathias Gumz1-0/+2
2010-05-06added little helper function to disable the maximization state of a window ↵Mathias Gumz1-0/+4
while keeping its current position / size
2010-03-26Changed title signal in Focusable to new signal systemHenrik Kinnunen1-0/+3
2009-12-18implemented 'MoveN' and 'ClickN' support in keys file.Mathias Gumz1-0/+1
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs
2009-06-28make Raise/LowerLayer accept integer argument for number of layers, default 2Mark Tiefenbruck1-2/+1
2008-10-15don't allow resizing to negative dimensionsMathias Gumz1-7/+7
this fixes a problem when the user resizes a window over the opposite border. as a result a signed overflow occured which lead to quite huge windows.
2008-10-09don't show window on new workspace when warping with outline movingMark Tiefenbruck1-2/+0
2008-09-28Changed workspace area signal to use the new signal systemHenrik Kinnunen1-0/+3
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-1/+6
2008-09-02resize fullscreen windows when resolution changesRelease-1_1_0Mark Tiefenbruck1-0/+1
2008-08-27move some things from FluxboxWindow to WindowStateMark Tiefenbruck1-12/+8
2008-08-27make FbWinFrame and FluxboxWindow share a WindowState objectMark Tiefenbruck1-11/+15
2008-08-27move FbWinFrame::State class to a new fileMark Tiefenbruck1-6/+6
2008-08-22be a little smarter about size hints in tabbed windowsMark Tiefenbruck1-0/+2
2008-08-22move fullscreen and maximization handling to FbWinFrameMark Tiefenbruck1-21/+4
2008-08-21make Swing apps only somewhat horribly broken againMark Tiefenbruck1-3/+1
2008-08-21some cleanupMark Tiefenbruck1-25/+1
2008-08-18combined code for saved window positions and MoveTo key commandMark Tiefenbruck1-11/+16
added left, right, top, and bottom center reference points
2008-08-15cosmetic api changeMathias Gumz1-1/+1
2008-08-15move getDecoMaskFromString to FbWinFrameMark Tiefenbruck1-2/+0
2008-08-15fix some consts and private functionsMark Tiefenbruck1-14/+13
2008-08-15have fullscreen and maximization code call applySizeHints directlyMark Tiefenbruck1-1/+1
2008-08-15move some frame size calculations to FbWinFrameMark Tiefenbruck1-1/+1
2008-08-14cleanup of some filesMathias Gumz1-1/+0
2008-06-20move default window menu to ~/.fluxbox/windowmenuMark Tiefenbruck1-3/+3