mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 735598 - Check for MOZ_X11 before using X11 Window types. r=karlt
This commit is contained in:
parent
76ff80d894
commit
c5f2dd2c8a
@ -748,7 +748,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetNetscapeWindow(void *value)
|
||||
}
|
||||
|
||||
return rv;
|
||||
#elif defined(MOZ_WIDGET_GTK2) || defined(MOZ_WIDGET_QT)
|
||||
#elif (defined(MOZ_WIDGET_GTK2) || defined(MOZ_WIDGET_QT)) && defined(MOZ_X11)
|
||||
// X11 window managers want the toplevel window for WM_TRANSIENT_FOR.
|
||||
nsIWidget* win = mObjectFrame->GetNearestWidget();
|
||||
if (!win)
|
||||
|
Loading…
Reference in New Issue
Block a user