aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-10-17removed obsolete handler for the gnome-window manager hintsMathias Gumz1-466/+0
nowadays every app should use the extended window manager hints exclusively.
2011-05-08Can check CARDINAL properties in CLIENT PATTERNSnacitar sevaht1-20/+10
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-9/+9
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.
2010-09-13code simplificationMathias Gumz1-0/+1
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying.
2010-09-08introduced FbTk::BidiStringMathias Gumz1-10/+9
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-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-65/+34
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug.
2009-09-30compile fix: ISO C++ forbids variable length array 'names'Mathias Gumz1-3/+5
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-3/+2
2007-12-19remove reassoc argument from FluxboxWindow::deiconifyMark Tiefenbruck1-1/+1
2007-07-15make sure menus close only when right clicking down and up on the titlebarmarkt1-1/+1
2007-07-08remove _NET_WM_DESKTOP, _NET_WM_STATE, and Gnome hints on client closemarkt1-0/+11
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2006-12-31Fix _NET_FRAME_EXTENTS on 64-bit systemssimonb1-1/+1
2006-10-30Cosmetic patch from Slava Semushinmathias1-56/+60
2006-08-09it never existed (what never existed?)markt1-5/+4
2006-08-08fix some compiler warnings in gcc 4.1markt1-4/+5
2006-07-30little cleanup, remove FluxboxWindow::isInitialized()markt1-1/+1
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-1/+1
console, plus handle catalogs better.
2006-04-02size_t fixes, thanks Semushin Slava aka php-coderfluxgen1-3/+3
2006-02-20moved class Layer from class Fluxbox and thus reduces some dependeciesfluxgen1-10/+12
2006-02-16updated copyright infomathias1-1/+1
2005-07-04cleaning, change getCount to numberOfWorkspacesfluxgen1-3/+3
2005-05-14Vadim pointed out that _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING are ↵mathias1-1/+1
not updated when sending _BLACKBOX_NOTIFY_WINDOW_DEL _NET_WM_DESKTOP and _WIN_WORKSPACE had wrong initial values (-1), which lead to probems with (eg) fbpager (unaware of newly created windows and such things)
2005-05-13fix a segfaultsimonb1-1/+1
2005-01-31closes #1107213, 64bit issues with XChangePropertymathias1-4/+4
submitted by Matthieu Herrb <matthieu.herrb@laas.fr>
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-08-11debug messages and some minor cleaningfluxgen1-10/+37
2004-06-28minor stufffluxgen1-2/+15
2004-06-07update NLS string handling...rathnor1-2/+4
2004-02-20fixed focus issues with remember hidden, patch from Mathias Gumzfluxgen1-2/+5
2004-01-19minor updatefluxgen1-19/+22
2003-10-02address some memory issues shown up with valgrindrathnor1-2/+2
2003-07-28update many things to use WinClient instead of FluxboxWindowrathnor1-16/+18
2003-07-17fix java bug (wasn't sending ConfigureNotify events in response torathnor1-1/+7
ConfigureRequests). Also fix no border on transients and some initial gnome atom values.
2003-07-04support in remember for specifying groups.rathnor1-3/+3
Also split atomhandler::setupWindow
2003-06-26speedups for having lots of stuck windowsrathnor1-2/+5
2003-06-23fix grouping to persist over restart, plus various related bugs.rathnor1-10/+21
Also move a large proportion of window initialisation from FluxboxWindow to WinClient
2003-06-12using desktop namesfluxgen1-12/+13
2003-05-19using property and changePropertyfluxgen1-32/+27
2003-05-15minor cleaning in BScreen interfacefluxgen1-2/+2
2003-05-15cleaning in FluxboxWindow interfacefluxgen1-10/+10
2003-05-11minor cleaningfluxgen1-5/+5
2003-05-11minor cleaningfluxgen1-4/+4
2003-05-10using FbRootWindowfluxgen1-8/+8
2003-05-08fix updating of gnome layer atomrathnor1-2/+3
2003-04-25fixed includefluxgen1-1/+2
2003-04-15cleaningfluxgen1-3/+4
2003-04-15fixed client count bugfluxgen1-8/+23