summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-11-06Don't increase leave pendingMaps at a non-zero number once the window is mapped.Sam Spilsbury1-19/+19
We used to assume that for every MapRequest event that we got for which we also sent an XMapWindow that we would get a MapNotify. According to the man XMapWindow this doesn't make any sense since trying calling XMapWindow on an already mapped window for which we have SubstructureRedirectMask set results in a NoOp anyways (so we'll only ever get one MapNotify and multiple MapRequests). This fixes a case where no input focus would be set on closing windows with multiple remaining pendingMaps since we don't move the input focus if this is the case
2010-10-24Use XFreeStringList to recursively free the entire arraySam Spilsbury1-2/+2
2010-10-24Cleanup (static analysis)Sam Spilsbury1-0/+3
2010-10-24Fix some memory leaks (it looks like there are some more in ↵Sam Spilsbury1-18/+29
XTextPropertyToStringList too)
2010-10-24core: general code cleanup (static analysis)Sam Spilsbury5-10/+21
2010-10-07Remove unused variables to silence warnings.Scott Moreau1-5/+1
2010-09-30Clean up isViewableSam Spilsbury1-4/+1
2010-09-09Force input focus on button 1/2/3 press.Sam Spilsbury1-3/+2
Sometimes there is a case where the window is active on one screen already, and because compiz is not multi-screen aware, when another window is focussed on another screen, the window will continue to be "active" but not focussed. Previously, when clicking on this window again, the window would not be focussed again since it was already active. This commit forces input focus regardless of the "active" state
2010-08-28Better checking if the window is destroyed and use the default visualSam Spilsbury1-13/+28
and colormap, unless the window has request an ARGB one, in which case use that (like metacity). This fixes problems with windows which set incorrect colormap/visual combinations in their XSetWindowAttribs, like some SDL windows such as frozen-bubble and SDL/testwm
2010-08-20Fix warning.Scott Moreau1-1/+1
2010-08-20Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/coreSam Spilsbury1-1/+1
2010-08-17Don't give all windows strutsJay Catherwood1-1/+1
2010-08-17Revert "Revert "Keep pixmaps of unmapped windows around if they are used for ↵Sam Spilsbury1-2/+13
animations."" This reverts commit e37b87173812da4af24c480a1adc9f8075a05e98.
2010-08-12Fix tooltip open animations not firingJay Catherwood1-33/+33
Sometimes tooltip open animations do not fire because they are set to viewable early on. This patch runs a map window notification when map is called even if the window is already viewable.
2010-08-13Revert "Keep pixmaps of unmapped windows around if they are used for ↵Sam Spilsbury1-13/+2
animations." This reverts commit 6c7d254d7f7b3706e9a6294a1c16c7cc9a05568f.
2010-08-11Use restack () instead of restackBelow () to ensure stack synchronousitySam Spilsbury1-1/+1
2010-08-10Don't free a local variable by creating a pointer to it and then notSam Spilsbury1-4/+4
knowing whether that pointer is actually heap or stack memory
2010-08-10Also include frame region in input region shapeSam Spilsbury1-1/+1
2010-08-10Make minimize, unminimize and minimized () functions wrappableSam Spilsbury2-12/+28
2010-08-10Revert "Call wrapped hide and show functions for minimize and unminimize and ↵Sam Spilsbury2-31/+16
also" This reverts commit 4e0bad2e7f8a1e16cec41f6909c19bab33d93e17.
2010-08-10Call wrapped hide and show functions for minimize and unminimize and alsoSam Spilsbury2-16/+31
unite frame region with input shaped region (so that decorations don't lose input)
2010-08-10Use anchor stacking point as either directly above or directly belowSam Spilsbury1-5/+11
window when reparenting windows
2010-08-10Fix typoSam Spilsbury1-0/+4
2010-08-10Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/coreSam Spilsbury1-1/+4
2010-08-10Handle the ShapeInput and ShapeBounding XShape regionsSam Spilsbury1-34/+73
2010-08-09Fix gimp layers window disappearingJay Catherwood1-1/+4
This fixes bug 1303. Under certain circumstances restack ends up being called with the window as its own aboveId, causing it to disappear.
2010-07-31Handle property data types other than XA_CARDINAL and XA_STRING. Fixes ↵Sam Spilsbury1-2/+2
window hints not being written for other data types, such as XA_WINDOW which is used by compiztoolbox for switcher background drawing
2010-07-29Fix typoGuillaume Seguin1-1/+1
2010-07-29Increment countSam Spilsbury1-0/+2
2010-07-29Initialize XPolygonRegion arguments and use WindingRuleSam Spilsbury1-1/+9
2010-07-25Add a constructor to initialize a CompRegion from a series of CompPoint's,Sam Spilsbury1-0/+10
much like the XPolygonRegion construct allows for
2010-07-12Determine the id of the appropriate child window and pass that as "window"Sam Spilsbury1-1/+15
for xbutton events in button actions. The previous behaviour was to pass the xbutton.window, but this was usually the frame wrapper window, which meant calls to screen->findWindow () would fail since this window was not in screen->windows ();
2010-07-04Fix debugging prefixSam Spilsbury1-3/+3
2010-07-04Install and load local information from XDG_HOME/.compiz-1 to prevent ↵Sam Spilsbury2-5/+5
conflicts with compiz-0.8
2010-06-19Revert "[PATCH] Handle dock windows with keep-below mask."Sam Spilsbury1-3/+6
This reverts commit 2fb7e4227d516cd2ba8b81e411bbfc0aca127943. Handling dock windows like this causes problems for docks that are set above windows (like plasma panel) we need to find a better way to handle these windows
2010-06-13Add missing filesSam Spilsbury1-0/+227
2010-06-12A few big changes:Sam Spilsbury2-0/+7
* Rewrite PropertyWriter, move it out of compiztoolbox * Added CompPluginStateWriter, a serialization interface, which plugins inherit, and specify how to serialize their class members, which will be automatically unloaded and reloaded as plugins unload and reload. * Currently there are bugs with this interface, so it is disabled by default (mostly bugs to do with boost and libdl) * Depend on libboost-serialization * A few bugfixes
2010-05-25[PATCH] Handle dock windows with keep-below mask.Sebasian Billaudelle1-6/+3
2010-05-19Return resName as CompString so it can't be modified by the caller.Danny Baumann1-2/+5
2010-05-18add resName getterTravis Watkins1-0/+6
2010-05-18Added DESTDIR support for packagingSam Spilsbury1-1/+1
2010-05-03Use corect calculationSam Spilsbury1-1/+1
2010-05-03TypofixSam Spilsbury1-1/+1
2010-05-02Optionally traverse through ancestry when getting the client leader of aDanny Baumann1-2/+8
window which has no own client leader set.
2010-04-28Merge branch 'master' of git+ssh://git.compiz-fusion.org/git/compiz/coreDanny Baumann2-5/+9
2010-04-28Add some additional accessor functions for more consistent class usage.Danny Baumann1-0/+6
2010-04-18Typo.Dennis Kasprzyk1-1/+1
2010-04-04Avoid excessive casting.Danny Baumann1-10/+6
2010-04-04Correctly handle weird icon sizes.Sam Spilsbury1-3/+11
iw * ih may overflow the value range of unsigned long if iw and ih are large enough, so check the single values as well. Forward port of 1bed3dbcea6473f84745ec7a1f936c4f5d3b3a01 to master
2010-03-19Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/coreSam Spilsbury1-1/+1