diff options
author | Keith Packard <keithp@keithp.com> | 2010-06-07 00:54:18 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-07 11:27:12 -0700 |
commit | fdb081b430ddffb495aa5b05bcc4cf10882ff4b2 (patch) | |
tree | 098e5f409338fdde700a39edc3482cb404414869 /test | |
parent | bc26665661565918af484ccd17caad951010df60 (diff) |
dri2: Deal with input-only windows by using WindowDrawable()
Input only windows aren't DRAWABLE_WINDOW, but casting them to a
PixmapPtr is a bit harsh, and unlikely to get the appropriate privates
structure. use WindowDrawable instead which checks for both
input-output and input-only windows.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions