From 0f13e075d8f88534c935c1ecea5b993d268bc30b Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 19 Aug 2017 22:03:07 +0100 Subject: [PATCH] Fix my own typo in juce_linux_X11_Windowing.cpp --- modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp index 670c1de17a..30367b17c9 100644 --- a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp @@ -2971,8 +2971,8 @@ private: Atom netHints [2]; if (styleFlags & windowIsTemporary) - netHints [0] = Atoms::getIfExists ("_NET_WM_WINDOW_TYPE_TOOLTIP"); - else if ((styleFlags & windowHasDropShadow) == 0 && Desktop::canUseSemiTransparentWindows())) + netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_TOOLTIP"); + else if ((styleFlags & windowHasDropShadow) == 0 && Desktop::canUseSemiTransparentWindows()) netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_COMBO"); else netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_NORMAL");