diff options
author | keith <empty> | 1989-10-16 19:15:53 +0000 |
---|---|---|
committer | keith <empty> | 1989-10-16 19:15:53 +0000 |
commit | 26958d4ab46709ed79fccdff0a13a99400f70b40 (patch) | |
tree | 2b2bf32e9213216e264c48c79cd0c33c1dc4b416 /xc/programs | |
parent | 233754510b25c5a395f75e9861c88ef6ebbe642c (diff) |
reset serial number for resized unmapped windows
Diffstat (limited to 'xc/programs')
-rw-r--r-- | xc/programs/Xserver/mi/mibstore.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xc/programs/Xserver/mi/mibstore.c b/xc/programs/Xserver/mi/mibstore.c index f19194fb7..68ebecb3e 100644 --- a/xc/programs/Xserver/mi/mibstore.c +++ b/xc/programs/Xserver/mi/mibstore.c @@ -1,4 +1,4 @@ -/* $XConsortium: mibstore.c,v 5.25 89/10/06 17:28:10 keith Exp $ */ +/* $XConsortium: mibstore.c,v 5.26 89/10/08 15:50:42 rws Exp $ */ /*********************************************************** Copyright 1987 by the Regents of the University of California and the Massachusetts Institute of Technology, Cambridge, Massachusetts. @@ -2896,6 +2896,12 @@ miBSTranslateBackingStore(pWin, dx, dy, oldClip) /* finally install new SavedRegion */ (* pScreen->RegionCopy) (pSavedRegion, newSaved); (* pScreen->RegionDestroy) (newSaved); + /* + * an unrealized window will not get validate-tree'd, mash + * the serial number so GC's get revalidated for drawing + */ + if (!pWin->realized) + pWin->drawable.serialNumber = NEXT_SERIAL_NUMBER; return exposed; } |