aboutsummaryrefslogtreecommitdiff
path: root/src/ClientPattern.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-05-26build-sys: use AC_USE_SYSTEM_EXTENSIONSSami Kerola1-5/+0
The earlier _GNU_SOURCE definitions possibly did not take effect everywhere where it was intended.
2012-07-02add fullscreen, maximizedhorizontal, and maximizedvertical tests to ↵Mark Tiefenbruck1-1/+17
ClientPattern
2011-05-08Can check CARDINAL properties in CLIENT PATTERNSnacitar sevaht1-1/+1
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-1/+3
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-23disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem'Mathias Gumz1-0/+1
had to add <algorithm> at various other files as a result of this change.
2010-09-14cleanup and code deduplicationMathias Gumz1-29/+37
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch) * FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned * FbTk/FbString.cc: missing return * WinClient.cc: create atoms only once; use helper function * Window.cc: use a helper function
2010-09-11added 'SetXProp' action and (@PROP=foo) clientpatternMathias Gumz1-73/+115
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-10code cleanupMathias Gumz1-34/+48
* moved code from public API to internals * avoid code duplication ( while(!m_terms.empty()) ...) * cosmetic '(*it)->' vs 'term.'
2010-09-09reduced 'switch/case' and 'else if' hell a little bitMathias Gumz1-92/+81
2010-09-08introduced FbTk::BidiStringMathias Gumz1-2/+2
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).
2009-10-01simpler codeMathias Gumz1-37/+27
2009-06-28allow matching screen number in ClientPatternMark Tiefenbruck1-0/+13
2009-06-25use current workspace in ClientPattern when client has no FbWindowMark Tiefenbruck1-6/+5
2008-08-19add [transient] tag to apps file to match transient windowsMark Tiefenbruck1-5/+1
2008-06-08add (urgent=yes|no) options to ClientPatternMark Tiefenbruck1-0/+9
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-28move RegExp to FbTkMark Tiefenbruck1-1/+0
2007-11-12allow arbitrary window patterns in iconbarmarkt1-3/+33
2007-10-24introduced workspacename for ClientPattern, and some miscellaneous cleanupmarkt1-16/+19
2007-10-23we already have a subroutine for thismarkt1-13/+2
2007-10-23allow negated patternsmarkt1-9/+19
2007-10-22added [mouse] pattern, matches against prop HEAD and the mouse positionfluxgen1-0/+19
2007-10-14add support for transient windows in client patterns, and merge a few more ↵markt1-1/+13
changes from pre-devel
2007-10-13merged changes from pre-develmarkt1-39/+136
2007-04-01fixed problem with creating windows in iconic statemarkt1-1/+1
2007-01-02don't escape regex metacharacters when writing apps filemarkt1-6/+1
2006-11-07cosmetic patch from slava againmathias1-2/+0
2006-10-27cosmetic patch from slava semushin, removes whitespaces andmathias1-14/+14
uses only those things from "namespace std" what we really need.
2006-08-10fix crash in ClientPatternsimonb1-1/+1
2006-04-23reload the apps file on flux reloadsimonb1-0/+16
2006-04-16fix all compiler warnings with -Wallsimonb1-3/+4
2006-02-16updated copyright infomathias1-1/+1
2005-10-20add backslash to special chars, fixes bug #1327878fluxgen1-1/+7
2005-02-13stringstream headerfluxgen1-15/+3
2005-02-10cosmetic + updated copyright yearmathias1-1/+1
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-08-31add autoconf check for std c++ headersrathnor1-2/+6
2004-04-28add apps file matching on role. Includes new textProperty property onrathnor1-1/+10
FbWindow.
2003-12-17obsolete getTitle() from win client change to title()fluxgen1-2/+2
2003-11-17check for sstream headerfluxgen1-3/+17
2003-10-12small solaris build fixrathnor1-1/+4
2003-06-13include cstdio for sprintffluxgen1-1/+2
2003-06-13minor cleaningfluxgen1-16/+14
2003-06-12add regular expression support in remember capabilitiesrathnor1-0/+235
see ChangeLog for details