New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14905: patch-src-core-compositor.c.diff

File patch-src-core-compositor.c.diff, 1.0 KB (added by jmr@…, 4 years ago)
  • src/core/compositor.c

    old new  
    3737#include "compositor.h" 
    3838#include "xprops.h" 
    3939#include <X11/Xatom.h> 
     40#include <X11/Xprotostr.h> 
    4041#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> 
    4445#include <X11/extensions/Xrender.h> 
    4546 
     47typedef XID XserverRegion; 
     48typedef XID Damage; 
     49 
    4650#if COMPOSITE_MAJOR > 0 || COMPOSITE_MINOR >= 2 
    4751#define HAVE_NAME_WINDOW_PIXMAP 1 
    4852#endif 
     
    249253 
    250254  if (!compositor->debug) 
    251255    return; 
    252  
     256#if 0 
    253257  if (region) 
    254258    { 
    255259      rects = XFixesFetchRegionAndBounds (dpy, region, &nrects, &bounds); 
     
    268272    } 
    269273  else 
    270274    fprintf (stderr, "%s (XSR): null\n", location); 
     275#endif 
    271276} 
    272277 
    273278/*