Commit Graph

1416 Commits

Author SHA1 Message Date
Dana Jansens
398f722ce1 Fix some rare memory leaks and behaviour when a mapped window is reparented away from root
When a window that is mapped is reparented away from root, that is the same as it being completely unmapped+destroyed from our persective.  The window will no longer be in the same position on screen, and we will no longer want to listen to events on it.
Prior to this, the w->pixmap would not be freed when a mapped window was reparented away from root, and damage would not be updated for the screen correctly.
2008-02-14 17:35:55 -05:00
Dana Jansens
2c1a928e59 Fixes for window fade-outs
When a window resizes while it is unmapped, don't destroy it's pixmap, as that kills and fade going on.
If a window is already unmapped (and therefore already fading out, don't override the fadeout with a new one when the window is destroyed.
When a window maps, if it already has a pixmap, this is stale data, so free it so that a new pixmap can be retrieved from the newly mapped window.
2008-02-14 17:13:05 -05:00
Dana Jansens
73f6ed3310 Fix a server resource leak on destroying windows. 2008-02-13 11:24:32 -08:00
Jamey Sharp
80754042c6 Bug #13073: Fix broken word-wrapping in ChangeLog generation.
Thanks to Peter Dyballa <Peter_Dyballa@Freenet.DE> for pointing out the
bug.
2007-11-05 09:32:44 -08:00
James Cloos
733e29ba0e Add *~ to .gitignore to skip patch/emacs droppings 2007-09-03 05:51:17 -04:00
James Cloos
f88dba2d9c Remove deprecated .cvsignore
The repo already has a .gitignore, so just rm the old .cvsignore.

Also removed a blank line from .gitignore.
2007-08-23 21:21:52 -04:00
Tilman Sauerbeck
de60732aff Make this loop slightly easier to read. 2007-03-12 14:44:31 +01:00
Tilman Sauerbeck
fa689d8b38 Constified some variables. 2007-03-12 14:24:33 +01:00
Tilman Sauerbeck
7409bb892a Include getopt.h for getopt().
I think this should be portable. If it isn't, please yell at me and
I'll add the necessary autoconf magic.
2007-03-12 14:18:25 +01:00
Tilman Sauerbeck
3f8a32b083 Added .gitignore. 2007-03-12 13:38:59 +01:00
Tilman Sauerbeck
491aa4b9a7 Fixed a bunch of warnings. 2007-03-12 13:37:32 +01:00
Mark Tiefenbruck
08c9ac6cbb Bug #9762: Fix opacity changes on unmapped windows. 2007-01-25 15:05:02 -05:00
Dave Airlie
1783d3bd50 increase version number to 1.1.3 2006-12-21 18:36:33 +11:00
Dave Airlie
340f74b218 remove changelog from xcompmgr 2006-12-21 18:36:08 +11:00
Tilman Sauerbeck
6c539182a5 Bug #2703: Fixed a memory leak in the fading code. 2006-12-03 13:15:39 +01:00
Tilman Sauerbeck
d75fd64f7a Set the _NET_WM_CM_S* atom on the screen we're running on. 2006-09-06 19:04:47 +02:00
Adam Jackson
82e467ece3 Bump to 1.1.3 for anholt's named window hack 2005-10-31 17:57:40 +00:00
Eric Anholt
ad4191d22b Add the foreign flag so autotools doesn't incorrectly slap a GPL on this,
and add a .cvsignore for cvs up clarity.
2005-10-07 05:40:26 +00:00
Eric Anholt
f5fe54f5fd Make a dummy window with a name, so xrestop can point its finger at
xcompmgr for being such a pig.
2005-10-07 00:08:02 +00:00
Adam Jackson
ea0f58928c Bug #2391: Fix a use-after-free in run_fades. (Jonathan Briggs) 2005-01-27 21:03:39 +00:00
Eric Anholt
840fa5f33c Include the autogen.sh in the distfile. 2005-01-27 01:27:44 +00:00
Eric Anholt
f931341d9a Make xcompmgr distcheck and have a sane package name/version, and bump
version to 1.1.1.
2004-10-16 22:53:09 +00:00
dolio
2427e4ea66 Modified paint_all so that it doesn't draw off-screen windows, and doesn't
draw shadows on desktop 'root' windows.
2004-09-29 18:33:42 +00:00
Adam Jackson
c262e75a82 bump version number 2004-09-27 18:06:03 +00:00
dolio
fd2dc3730c Added command-line options for changing values relevant to fading. 2004-09-23 07:17:48 +00:00
dolio
4d85ae8dbc Miscellaneous code cleanup and failed allocation checks. 2004-09-23 01:56:00 +00:00
dolio
26fd15f06b Added shadow precomputation for large-enough windows. 2004-09-21 22:59:38 +00:00
Adam Jackson
b73a269bf2 Print the version number in the usage summary. 2004-09-20 21:36:07 +00:00
dolio
34c09f7b7f Added various options for client-side shadows (offset, opacity,
blur-radius) based on the work of Thomas Luebking, along with the man
    entries and usage information to go along with them.
2004-09-18 00:13:15 +00:00
dolio
76e259ed57 Changed the usage function to display information on the available options. 2004-09-17 23:51:48 +00:00
dolio
ed88a47468 Added allocation failure checks in shadow_picture and caused it to exit
gracefully rather than writing to unallocated memory.
2004-09-17 05:20:35 +00:00
Adam Jackson
7abdf973ea Bug #1360: Fix a segfault by checking the return value of XQueryTree.
(Johan Kiviniemi)
2004-09-14 19:01:16 +00:00
Adam Jackson
36005e53a5 More effects, bug fixes, doc updates. 2004-09-10 05:55:19 +00:00
Adam Jackson
ff13f4a4b9 add a man page 2004-09-09 03:27:16 +00:00
Keith Packard
576c3c435c Remove abort call as it's just annoying. Add -a flag to just use Automatic
compositing. No glitz, but no screen mangling either.
2004-08-14 21:39:51 +00:00
Keith Packard
018fc12ad4 Add name window pixmap support 2004-08-13 08:25:51 +00:00
Keith Packard
4b34993c83 Eliminate 'struct timezone tz' as it isn't used.
reviewed by: Keith Packard
2004-07-08 16:30:59 +00:00
Keith Packard
cd952da085 Add fade-in/fade-out support (-f option). Clean up leak of solid alpha
picture per redraw of constant-alpha windows.
2004-07-08 07:07:26 +00:00
Keith Packard
d140d97616 Only use XCompositeNameWindowPixmap when the library provides it 2004-06-27 21:29:23 +00:00
Keith Packard
9616aa5ba6 Make composite manager mode run-time selectable with command line option:
-s: server-side shadows (sharp, but follows window alpha)
-c: client-side shadows (blurred, but uses window extents only)
-n: no shadows (this is the default mode)
2004-06-27 05:08:33 +00:00
Keith Packard
def454cc5a Ok, this synchronizes all of my changes for the last many months. Has code
to do server-based shadows (SHARP_SHADOW). Has code to try and ignore
    appropriate errors (helps somewhat). Has code to handle global window
    translucency. Lots of other minor changes.
2004-06-27 04:48:37 +00:00
Eric Anholt
2d30f9363a Autoconf 2.57 appears to work fine, as well. 2004-05-18 00:01:50 +00:00
Phil Blundell
d5a8f367a2 Set INCLUDES, not xcompmgr_INCLUDES. 2004-03-31 21:54:22 +00:00
Phil Blundell
1c62c3bbf6 New. 2004-03-28 12:02:50 +00:00
Phil Blundell
5025a4ed4c Autotoolized:
New files.
Likewise.
Deleted.
2004-03-25 23:57:55 +00:00
Keith Packard
10d93f24f0 Track whether cliplists have changed and avoid computation when not. Shrink
shadows. Speed up shadow construction a bit by using memset. Eliminate
    useless INTERVAL code. Use XSync after paint_all to gather more events
    per update.
2003-12-02 09:51:12 +00:00
Keith Packard
0963afc29c Add support for CM_TRANSLUCENT property.
reviewed by: Keith Packard <keithp@keithp.com>
2003-11-24 17:11:00 +00:00
Keith Packard
df3dc087f8 Rename gussianMap to gaussianMap (who the heck is gus?) Allow for other
names for the root pixmap Handle non-zero border widths better (need
    Composite change to display them though). Add MONITOR_UPDATE mode that
    eliminates double buffering and blanks the screen to make sequence of
    update operations visible. Leave damage object around to catch map
    damage right. Add CirculateNotify support.
2003-11-23 23:20:42 +00:00
Eric Anholt
c676d32456 Fix for latest Xfixes changes.
Submitted by: <stephan@wilkogazu.nl>
2003-11-23 21:10:34 +00:00
Carl Worth
9f3bc6c073 Eliminate several compiler warnings: missing includes, static functions,
unused variables. Remove confusing informational messages with the word
    "error" in them.
2003-11-19 16:12:15 +00:00