Commit Graph

419 Commits

Author SHA1 Message Date
db45bafdc4 register the _NET_WM_CM_S hint with the correct screen number 2008-02-15 10:46:01 -05:00
c213ab27ff Remove some spurious code
If the window is fading out, then the new fade-in will execute the finish_unmap/destroy, and that will kill the pixmap already.
2008-02-15 10:46:01 -05:00
873402251a Make shadows, fading, and opacity based on the window type. Add support for the extended window type atoms. Add a "-m" option to set opacity for menu windows. 2008-02-15 10:45:55 -05:00
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
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
73f6ed3310 Fix a server resource leak on destroying windows. 2008-02-13 11:24:32 -08:00
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
733e29ba0e Add *~ to .gitignore to skip patch/emacs droppings 2007-09-03 05:51:17 -04:00
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
de60732aff Make this loop slightly easier to read. 2007-03-12 14:44:31 +01:00
fa689d8b38 Constified some variables. 2007-03-12 14:24:33 +01:00
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
3f8a32b083 Added .gitignore. 2007-03-12 13:38:59 +01:00
491aa4b9a7 Fixed a bunch of warnings. 2007-03-12 13:37:32 +01:00
08c9ac6cbb Bug #9762: Fix opacity changes on unmapped windows. 2007-01-25 15:05:02 -05:00
1783d3bd50 increase version number to 1.1.3 2006-12-21 18:36:33 +11:00
340f74b218 remove changelog from xcompmgr 2006-12-21 18:36:08 +11:00
6c539182a5 Bug #2703: Fixed a memory leak in the fading code. 2006-12-03 13:15:39 +01:00
d75fd64f7a Set the _NET_WM_CM_S* atom on the screen we're running on. 2006-09-06 19:04:47 +02:00
82e467ece3 Bump to 1.1.3 for anholt's named window hack 2005-10-31 17:57:40 +00:00
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
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
ea0f58928c Bug #2391: Fix a use-after-free in run_fades. (Jonathan Briggs) 2005-01-27 21:03:39 +00:00
840fa5f33c Include the autogen.sh in the distfile. 2005-01-27 01:27:44 +00:00
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
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
c262e75a82 bump version number 2004-09-27 18:06:03 +00:00
fd2dc3730c Added command-line options for changing values relevant to fading. 2004-09-23 07:17:48 +00:00
4d85ae8dbc Miscellaneous code cleanup and failed allocation checks. 2004-09-23 01:56:00 +00:00
26fd15f06b Added shadow precomputation for large-enough windows. 2004-09-21 22:59:38 +00:00
b73a269bf2 Print the version number in the usage summary. 2004-09-20 21:36:07 +00:00
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
76e259ed57 Changed the usage function to display information on the available options. 2004-09-17 23:51:48 +00:00
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
7abdf973ea Bug #1360: Fix a segfault by checking the return value of XQueryTree.
(Johan Kiviniemi)
2004-09-14 19:01:16 +00:00
36005e53a5 More effects, bug fixes, doc updates. 2004-09-10 05:55:19 +00:00
ff13f4a4b9 add a man page 2004-09-09 03:27:16 +00:00
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
018fc12ad4 Add name window pixmap support 2004-08-13 08:25:51 +00:00
4b34993c83 Eliminate 'struct timezone tz' as it isn't used.
reviewed by: Keith Packard
2004-07-08 16:30:59 +00:00
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
d140d97616 Only use XCompositeNameWindowPixmap when the library provides it 2004-06-27 21:29:23 +00:00
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
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
2d30f9363a Autoconf 2.57 appears to work fine, as well. 2004-05-18 00:01:50 +00:00
d5a8f367a2 Set INCLUDES, not xcompmgr_INCLUDES. 2004-03-31 21:54:22 +00:00
1c62c3bbf6 New. 2004-03-28 12:02:50 +00:00
5025a4ed4c Autotoolized:
New files.
Likewise.
Deleted.
2004-03-25 23:57:55 +00:00
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
0963afc29c Add support for CM_TRANSLUCENT property.
reviewed by: Keith Packard <keithp@keithp.com>
2003-11-24 17:11:00 +00:00