aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
AgeCommit message (Collapse)AuthorFilesLines
2016-08-28fix compiler warning about std::auto_ptrMathias Gumz1-1/+1
fluxbox uses std::unique_ptr<> where it previously used std::auto_ptr<>. C++0X was approved in 2011. among other things, it deprecates std::auto_ptr. 5 years is long enough for compilers to catch up the standard.
2015-01-22Fix broken _NET_REQUEST_FRAME_EXTENTS supportMathias Gumz1-7/+5
There was a subtle flaw in the way fluxbox detects to which BScreen a given Window belongs: We have to compare the RootWindow of the given Window against the RootWindow of each BScreen. That underlying flaw made _NET_REQUEST_FRAME_EXTENTS fail: the code path needs a valid BScreen for the given window, otherwise we return early. Closes #1121.
2015-01-16Fix uninitialized variables; cosmeticsMathias Gumz1-1/+1
Note: I expect only modern compilers will hit the source of fluxbox. It seems futile to guard stdlib headers while demanding <algorithm> etc. This should trim down the noise in the source quite a bit.
2012-12-30Set WM_WINDOW_ROLE for fluxbox windowsVladimir A. Pavlov1-0/+2
2012-04-06Allow percentage values for some Window commandsLajos Koszti1-0/+7
2011-10-20Added support for ARGB visual, patch #3284774Gediminas Liktaras1-3/+11
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-08Can check CARDINAL properties in CLIENT PATTERNSnacitar sevaht1-2/+3
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-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz1-3/+3
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
2008-10-15ignore XRandr events that don't actually change the screen sizeMark Tiefenbruck1-3/+3
2008-08-16some cleanupMark Tiefenbruck1-4/+1
2008-05-24move FluxboxWindow::applyDecorations() to FbWinFrameMark Tiefenbruck1-0/+2
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2008-01-03mergedMathias Gumz1-1/+2
2008-01-02moved seldom used code to where it is actually used, no need to include code ↵Mathias Gumz1-23/+0
into compilation when its not needed
2008-01-02fix border width on synthetic ConfigureNotify eventsMark Tiefenbruck1-1/+2
2007-12-30removed some unneeded headersMathias Gumz1-4/+3
2007-12-29'inline' in class declaration is implicitly inlineMathias Gumz1-33/+33
2007-12-25make bit depth accessible from an FbDrawableMark Tiefenbruck1-5/+5
2007-08-04Fix system tray restart issuessimonb1-0/+3
2007-04-17basicly cosmetic changes, patch by slava semushinmathias1-1/+0
2006-07-23use a timer to make sure focus always reverts if possiblemarkt1-1/+1
2006-07-20properly revert focus when two windows close at the same timemarkt1-1/+1
2006-07-01more dead functionsmarkt1-0/+2
2006-06-24fix more x errors due to using an invalid backgroundsimonb1-0/+2
2006-04-24Use -Wall when --enable-debug and some warning fixes simonb1-0/+1
+ thanks Jonas Koelker
2006-04-21update transparent window backgrounds on bg changesimonb1-0/+9
2006-04-09just some indentfluxgen1-2/+8
2006-02-16updated copyright infomathias1-1/+1
2005-04-29display accessorfluxgen1-0/+2
2005-04-28revert mathias last change, and fix it differently using info already simonb1-5/+0
there
2005-04-27i added an attribute to FbWindow to mark windows which are only used asmathias1-0/+5
"carrier" (maybe a temporarly name?) ... carriers dont need background-updates .. ever. this leads to a big performance"boost" over the last commits. before we updated also the windows which are the hosts for the apps (m_window and m_clientarea in FbWinFrame) -> bad idea.
2005-04-27fix a few more bugs with recent reworking stuffsimonb1-5/+5
Some fixes could incidentally fix a few other bugs... the flaws were pre-existing, I've just been weeding out a lot of duplication
2005-04-26fix systray client sizingsimonb1-0/+2
2005-04-26extension of previous big patch. Move a bunch of menu things onto simonb1-1/+13
background pixmap. Same for textbuttons.
2005-04-10Big changes to how transparency workssimonb1-6/+25
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
2005-01-24copyright datemathias1-1/+1
2005-01-14copyrightmathias1-1/+1
2004-12-21added deleteProperty to FbWindowmathias1-0/+2
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-09-12preliminary support for composite/compositing manager. Also general workrathnor1-1/+4
for consistency with transparency resources
2004-09-11fix issues that resulted in unnecessary X errorsrathnor1-2/+2
2004-09-10put App::instance()->display() to FbDrawable::s_display to avoid too muchakir1-2/+1
unnecessary calls
2004-06-13setBufferPixmap public insteadfluxgen1-2/+4
2004-06-07alpha access functionfluxgen1-1/+2
2004-05-17fix menu transparency rendering bug, and add save_under to menu windowsrathnor1-1/+4
2004-04-28add apps file matching on role. Includes new textProperty property onrathnor1-2/+4
FbWindow.
2004-01-21inlinefluxgen1-11/+11
2003-12-30inlinefluxgen1-5/+21
2003-12-16fixed some icc warningsfluxgen1-2/+2
2003-09-14buffered backgroundfluxgen1-1/+3