Set GDK_NATIVE_WINDOWS unconditionally
Browsers are supposed to set it all the time, if we take what Firefox and Chrome do as the spec (which is as reasonable as anything). May as well apply the workaround everywhere instead of assuming only Flash needs it. Reported-By: Stanislav Brabec <sbrabec@suse.cz>
This commit is contained in:
parent
66f613f65b
commit
b8a6af3f13
|
@ -5,11 +5,9 @@
|
|||
OS="`uname -s | tr '[A-Z]' '[a-z]'`"
|
||||
ARCH="`uname -m`"
|
||||
|
||||
case "$*" in
|
||||
*libflashplayer*)
|
||||
export GDK_NATIVE_WINDOWS=1
|
||||
;;
|
||||
esac
|
||||
# Browsers are supposed to set this (both Firefox and Chromium do), but some
|
||||
# don't. Workaround this here.
|
||||
export GDK_NATIVE_WINDOWS=1
|
||||
|
||||
if test -z "$TARGET_OS"; then
|
||||
echo "*** NSPlugin Viewer *** error, TARGET_OS not initialized"
|
||||
|
|
Loading…
Reference in New Issue