Only reset the clip region in GetDC() if a new region is specified.
commitd99df2b7578144daf3893fe1b2ecffb1b55316fc
authorAlexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2005 10:28:58 +0000 (30 10:28 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2005 10:28:58 +0000 (30 10:28 +0000)
tree89d6472a733e4e91ddec12d15e1f192e7f35d0b4
parentaf305c7462e58638947377301bbe6da9dffe95cf
Only reset the clip region in GetDC() if a new region is specified.
Don't release the clip region for window DCs in ReleaseDC(), except
when called from EndPaint().
Added a bunch of tests.
dlls/user/painting.c
dlls/user/tests/dce.c
dlls/user/user_private.h
dlls/x11drv/dce.c
dlls/x11drv/x11drv.spec
include/win.h