Commit graph

20 commits

Author SHA1 Message Date
Alexandre Julliard
0e0f62f2fa Repaint the non-client area to work around broken WM_PAINT handlers
also when doing a synchronous update with RDW_UPDATENOW.
2005-02-24 19:42:08 +00:00
Rein Klazes
8417d41a24 Calling ValidateRect or ValidateRgn on a windows also validates the
children. Add a test to show the behavior.
2005-02-16 17:52:01 +00:00
Alexandre Julliard
6db71654d3 Fixed bug that caused the whole window to be repainted by RedrawWindow
when the passed region was empty.
2005-01-28 17:23:25 +00:00
Alexandre Julliard
56206376b8 Desktop window is repainted on WM_ERASEBKGND, it must never get a
WM_PAINT.
2005-01-11 15:15:11 +00:00
Alexandre Julliard
aef0d18d97 Use the DC origin to map coordinates in ExcludeUpdateRgn instead of
calling an internal DCE function.
2005-01-04 12:11:09 +00:00
Rein Klazes
bcb3490d3c GetUpdateRect can be called with a NULL rect. 2004-12-08 19:43:45 +00:00
Alexandre Julliard
5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Alexandre Julliard
bcb1f8fe05 Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Alexandre Julliard
998863bf63 Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
by Jeremy White).
2004-10-07 03:09:37 +00:00
Alexandre Julliard
28a8cacaf5 GetUpdateRect should return TRUE even if only the non-client area is
invalid (reported by Rein Klazes).
2004-09-02 20:13:19 +00:00
Alexandre Julliard
0ba0d7a119 GetUpdateRgn should clip the returned region to the client area.
Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
Moved these 3 functions to dlls/user/painting.c.
2004-08-26 00:46:11 +00:00
Steven Edwards
cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dmitry Timoshkov
07eda42808 Fix the logic for setting the lps->fErase flag in BeginPaint. 2003-05-11 02:58:53 +00:00
Dmitry Timoshkov
befff55609 Protect BeginPaint and EndPaint from lps being NULL. 2003-04-30 00:50:43 +00:00
Dan Kegel
0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard
aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard
7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
4964c0f185 Started rewrite of painting functions for multiple processes. Moved
BeginPaint to dlls/user. Fixed bug in paint count handling.
2001-12-13 01:03:30 +00:00