1. 21 Sep, 2015 1 commit
    • Adam Jackson's avatar
      rootless: Fix bogus handling of broken root clip · fa0bb018
      Adam Jackson authored
      gcc quite correctly complains about this:
      
          In file included from ../../include/scrnintstr.h:51:0,
                           from rootlessValTree.c:98:
          In function 'RegionUninit.isra.1',
              inlined from 'RegionEmpty' at ../../include/regionstr.h:194:5,
              inlined from 'RootlessMiValidateTree' at rootlessValTree.c:490:9:
          ../../include/regionstr.h:166:9: warning: attempt to free a non-heap object 'RegionBrokenData' [-Wfree-nonheap-object]
                   free((_pReg)->data);
      
      So that'd crash if you ever got there.  RegionNull will do almost the
      same thing only without the free(), so let's do that instead; it might
      still not be an entirely sane way to recover, but it at least won't
      crash.
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
      fa0bb018
  2. 18 Aug, 2015 2 commits
  3. 08 Jul, 2015 5 commits
  4. 21 Apr, 2015 1 commit
  5. 12 Nov, 2014 1 commit
  6. 08 Oct, 2014 1 commit
  7. 29 Jul, 2014 2 commits
    • Adam Jackson's avatar
      miext/shadow: Remove shadowInit · d5b27997
      Adam Jackson authored
      This code is nonsensical.  You end up creating a screen-sized pixmap
      that's totally detached from everything else, which you then listen for
      damage on, which means you'll never hear any damage, which means your
      shadow update hooks will never get called.  Any driver using this would
      be sorely disappointed.
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
      d5b27997
    • Adam Jackson's avatar
      miext/shadow: Remove ancient backwards-compatibility hack · cf4793d9
      Adam Jackson authored
      Here's a trip down memory lane.  Back when we merged kdrive we adopted
      kdrive's version of shadow, which used damage directly instead of
      hand-rolling it.  However a couple of Xorg drivers referred to the
      accumulated damage region in the shadow private directly, so I added a
      hack to copy the damage region around.
      
      That was 9148d870, back in early 2006.
      Eight years is unusually patient for me.  The neomagic and trident drivers
      were still relying on this, but they've been modified to ask the damage
      code for the region instead.
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
      cf4793d9
  8. 17 Mar, 2014 1 commit
  9. 12 Jan, 2014 2 commits
  10. 02 Dec, 2013 2 commits
  11. 24 Nov, 2013 1 commit
  12. 05 Nov, 2013 1 commit
  13. 01 Nov, 2013 1 commit
  14. 31 Oct, 2013 2 commits
  15. 06 Oct, 2013 1 commit
  16. 04 Oct, 2013 1 commit
  17. 10 Sep, 2013 5 commits
  18. 06 Aug, 2013 1 commit
  19. 14 May, 2013 1 commit
  20. 25 Apr, 2013 1 commit
  21. 18 Apr, 2013 6 commits
  22. 23 Sep, 2012 1 commit