summaryrefslogtreecommitdiffstats
path: root/src/newt/native/WindowsWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-12-30 19:40:59 +0100
committerSven Gothel <[email protected]>2012-12-30 19:40:59 +0100
commit61eb1060ca535306d6580b23933e25710ece0b14 (patch)
tree9470f314860b2886b94c0e753e8c2130cc4dd26b /src/newt/native/WindowsWindow.c
parent35236f571a09e1ef21a57693bd2e4d715413f700 (diff)
NEWT WindowsWindow.c: UpdateInsets: Fix determiniation of isUndecorated - WS_SYSMENU is _not_ an indication!
Diffstat (limited to 'src/newt/native/WindowsWindow.c')
-rw-r--r--src/newt/native/WindowsWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c
index e7b454580..b20717acc 100644
--- a/src/newt/native/WindowsWindow.c
+++ b/src/newt/native/WindowsWindow.c
@@ -737,7 +737,7 @@ static RECT* UpdateInsets(JNIEnv *env, jobject window, HWND hwnd)
{
LONG style = GetWindowLong(hwnd, GWL_STYLE);
- BOOL bIsUndecorated = (style & (WS_CHILD|WS_POPUP|WS_SYSMENU)) != 0;
+ BOOL bIsUndecorated = (style & (WS_CHILD|WS_POPUP)) != 0;
if (!bIsUndecorated) {
/* Get outer frame sizes. */
if (style & WS_THICKFRAME) {