Ticket #14905: patch-src-core-compositor.c.diff
File patch-src-core-compositor.c.diff, 976 bytes (added by jmroot (Joshua Root), 17 years ago) |
---|
-
src/core/compositor.c
old new 37 37 #include "compositor.h" 38 38 #include "xprops.h" 39 39 #include <X11/Xatom.h> 40 #include <X11/Xprotostr.h> 40 41 #include <X11/extensions/shape.h> 41 #include <X11/extensions/ Xcomposite.h>42 #include <X11/extensions/ Xdamage.h>43 #include <X11/extensions/ Xfixes.h>42 #include <X11/extensions/compositeproto.h> 43 #include <X11/extensions/damageproto.h> 44 #include <X11/extensions/xfixesproto.h> 44 45 #include <X11/extensions/Xrender.h> 45 46 47 typedef XID XserverRegion; 48 typedef XID Damage; 49 46 50 #if COMPOSITE_MAJOR > 0 || COMPOSITE_MINOR >= 2 47 51 #define HAVE_NAME_WINDOW_PIXMAP 1 48 52 #endif … … 249 253 250 254 if (!compositor->debug) 251 255 return; 252 256 #if 0 253 257 if (region) 254 258 { 255 259 rects = XFixesFetchRegionAndBounds (dpy, region, &nrects, &bounds); … … 268 272 } 269 273 else 270 274 fprintf (stderr, "%s (XSR): null\n", location); 275 #endif 271 276 } 272 277 273 278 /*