summaryrefslogtreecommitdiffstats
path: root/src/newt/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-02 02:18:39 +0200
committerSven Gothel <[email protected]>2011-09-02 02:18:39 +0200
commitb4b9041daf6004d041d789cb564b839fac0fb149 (patch)
tree47d588dff8767f71cab24b84ee3bb470b3c5c180 /src/newt/native
parent7cc793a3c6310085f0e2f89d425b94fe7965c79f (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')
-rw-r--r--src/newt/native/WindowsWindow.c3
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;
}