XQuartz: Don't crash if CG increases our display resolution
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 22 May 2011 17:18:36 +0000 (10:18 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 22 May 2011 18:17:59 +0000 (11:17 -0700)
commit1fb501ad1521cfedaa5cf3052d45a924ef1866cf
tree2768899e144b6f28fcddb0ca4251507109ce7ea4
parent60af79e35ee8546a99d15a1358aac3deabfa22be
XQuartz: Don't crash if CG increases our display resolution

miPaintWindow would cause fbFill() to overwrite pScreen's pixmap which was
sized for the old resolution.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
hw/xquartz/quartz.c