X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788519c6055dc2290c40fb1569d2889d8ef8e76b..cd560c961a09a8ae80b9c32856e195ed784cc547:/src/x11/popupwin.cpp?ds=sidebyside diff --git a/src/x11/popupwin.cpp b/src/x11/popupwin.cpp index 6f767a6ef6..818b86fc64 100644 --- a/src/x11/popupwin.cpp +++ b/src/x11/popupwin.cpp @@ -87,7 +87,10 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) XSetTransientForHint( xdisplay, xwindow, xparent ); -#if !wxUSE_NANOX +#if wxUSE_NANOX + // Switch off WM + wxSetWMDecorations(xwindow, 0); +#else XWMHints wm_hints; wm_hints.flags = InputHint | StateHint /* | WindowGroupHint */; wm_hints.input = True;