You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
960B

  1. diff --git a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
  2. index 1ed776f..670c1de 100644
  3. --- a/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
  4. +++ b/modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
  5. @@ -2970,8 +2970,9 @@ private:
  6. {
  7. Atom netHints [2];
  8. - if ((styleFlags & windowIsTemporary) != 0
  9. - || ((styleFlags & windowHasDropShadow) == 0 && Desktop::canUseSemiTransparentWindows()))
  10. + if (styleFlags & windowIsTemporary)
  11. + netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_TOOLTIP");
  12. + else if ((styleFlags & windowHasDropShadow) == 0 && Desktop::canUseSemiTransparentWindows())
  13. netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_COMBO");
  14. else
  15. netHints [0] = Atoms::getIfExists (display, "_NET_WM_WINDOW_TYPE_NORMAL");