diff options
author | Sven Gothel <[email protected]> | 2015-09-29 11:25:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-09-29 11:25:33 +0200 |
commit | f607c0148736fa198fb91b60123824e53366022e (patch) | |
tree | 44dc3b8d72df0efca2d388dbd57d69491ba975c5 /src/nativewindow/native/win32/WindowsDWM.h | |
parent | 2b70c6bc965b3939a7f27b5b073282f34bc5200f (diff) |
Bug 1205 - NEWT Security: Clear framebuffer after creation and before visibility (Windows Onscreen)
WindowsWindow.c:
- WindowUserData.isInCreation set while window at initizalization,
i.e. before final size/pos/visibility.
Also no visibility until final NewtWindow_setVisiblePosSize(..) call.
This is possible since even w/o ShowWindow upfront,
UpdateInsets(..) is able to gather accurate values.
- Suppress any Java callback while WindowUserData.isInCreation,
issue one callback when window is final.
Use newly accumulated callback WindowImpl.sizePosInsetsFocusVisibleChanged(..)
- While WindowUserData.isInCreation, WM_PAINT triggers WM_ERASEBKGND
and WM_ERASEBKGND actually erases background w/ window background color.
Diffstat (limited to 'src/nativewindow/native/win32/WindowsDWM.h')
0 files changed, 0 insertions, 0 deletions