diff options
author | Sven Gothel <[email protected]> | 2011-09-02 02:18:39 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-02 02:18:39 +0200 |
commit | b4b9041daf6004d041d789cb564b839fac0fb149 (patch) | |
tree | 47d588dff8767f71cab24b84ee3bb470b3c5c180 /src/newt/native/WindowsWindow.c | |
parent | 7cc793a3c6310085f0e2f89d425b94fe7965c79f (diff) |
Fix NEWT/Window/Windows: setSize/setPosition/reconfigure: 'nop size' -1x-1 -> 0x0
Windows: setPosition was invoking setSize (new size propagation) even w/ nop size,
let WM event wmSize invoke setSize.
Diffstat (limited to 'src/newt/native/WindowsWindow.c')
-rw-r--r-- | src/newt/native/WindowsWindow.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index 16b6f8aec..0dd1b6260 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -1435,9 +1435,6 @@ int NewtWindow_setVisiblePosSize(JNIEnv *env, jobject obj, HWND hwnd, jboolean t InvalidateRect(hwnd, NULL, TRUE); UpdateWindow(hwnd); - // we report back the size of client area - (*env)->CallVoidMethod(env, obj, sizeChangedID, (jint) width, (jint) height, JNI_FALSE); - return iRes; } |