Commit Graph

1228 Commits

Author SHA1 Message Date
Christopher Jeffrey b0608d0c7c allow shadows on argb windows 2011-11-04 03:59:51 -05:00
Christopher Jeffrey 6c9166c36f major refactor, removed other shadow modes 2011-11-04 03:44:48 -05:00
Christopher Jeffrey 4c3bf853f3 whitespace 2011-11-04 02:08:34 -05:00
Javeed Shaikh e89fafef57 Allow the user to specify offsets for server-side (hard) shadows. 2008-02-20 15:45:48 -05:00
Dana Jansens c69769f0ae More fixing for fade-outs.
When a window is destroyed, always override the fade out so that the finish_destroy_win function can be called.
When a ConfigureNotify event is processed on an unmapped window, don't set the clipChanged = True.  Fixes unmap->configure causing flashing during the fade-out.
2008-02-20 11:35:44 -05:00
Dana Jansens f717d14a38 Ignore some X errors that can occur in normal use 2008-02-20 11:35:40 -05:00
Dana Jansens 9339584771 Fix races that occur when a window id is destroyed and recreated very quickly. This behaviour happens when restarting the window manager.
Don't use windows that are destroyed when restacking other windows or when handling events on a window id.  It is possible for the same window id to appear in the window list multiple times if it is destroyed then created before the destroy fade-out completes.
2008-02-20 00:42:46 -05:00
Dana Jansens dde2509cdc Plug 3 memory leaks, and make fading windows always draw so that fast desktop changing doesn't make windows become invisible. 2008-02-15 19:01:37 -05:00
Dana Jansens 27ca5f291c Save ConfigureNotify events for unmapped windows until the window maps. If a window moves while it is unmapped, it should not affect its fade-out.
A window can move/resize while it is fading out.  Even if you don't delete the pixmap in that case, the fade-out will be shown in the wrong place and the wrong area on screen will be marked damaged when the window is gone without this patch.
2008-02-15 11:12:54 -05:00
Dana Jansens db45bafdc4 register the _NET_WM_CM_S hint with the correct screen number 2008-02-15 10:46:01 -05:00
Dana Jansens 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
Dana Jansens 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
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