Commit Graph

40 Commits

Author SHA1 Message Date
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 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
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
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
Matthew Allum 03e138e205 Made gussian_map get called just once rather than N times 2003-11-14 19:27:00 +00:00
Keith Packard f0000349e7 Eliminate all delays in updates; let the X server scheduling handle things. 2003-11-14 08:29:37 +00:00
Keith Packard bb2f664686 Reduce scheduling latency to 10ms 2003-11-13 09:18:07 +00:00
Keith Packard 91c293c7e9 Use an alpha map instead of an ARGB picture for shadows. Update last_update
only when actually updating windows.
2003-11-13 09:16:18 +00:00
Keith Packard 54fb13fa32 Detect ARGB windows, don't give them shadows, compose them correctly. 2003-11-11 08:59:15 +00:00
Keith Packard 41293ef755 Track changes to _XROOTPMAP_ID property 2003-11-10 18:34:35 +00:00
Keith Packard 9e767b89cf Add a bit of scheduling to updates; update every 30 ms instead of waiting
for more events. Smooths out window moving. Interval needs to be
    configurable probably.
2003-11-10 05:48:23 +00:00
Keith Packard 37280d7888 Make sure _XROOTPMAP_ID property is right type, format and length before
attempting to use the resulting value.
2003-11-10 05:09:10 +00:00
Keith Packard febeaf7ad1 Configure damage must include shadow region, not just window. Also, leaking
region on each configure.
2003-11-10 04:46:24 +00:00
Keith Packard b4fc0433c5 oops. Left in an XSynchronize call. 2003-11-10 03:48:00 +00:00
Keith Packard 6e99ed898c Double buffer updates. Check for InputOnly windows and ignore them 2003-11-10 03:45:17 +00:00
Keith Packard e142128dde Detect root pattern with undocumented _XROOTPMAP_ID property 2003-11-10 02:03:26 +00:00
Keith Packard d98b963d75 Add drop shadows. 2003-11-10 01:32:01 +00:00
Keith Packard 1685456c7e Initial revision 2003-11-09 07:08:23 +00:00