13
0

Fix macOS builds (amend 6c6f2df8)

This commit is contained in:
Robin Gareus 2021-07-22 19:48:24 +02:00
parent f647692270
commit a7389f9e10
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -73,7 +73,7 @@ TearOff::TearOff (Widget& c, bool allow_resize)
own_window.set_resizable (allow_resize); own_window.set_resizable (allow_resize);
#ifdef __APPLE__ #ifdef __APPLE__
set_type_hint (Gdk::WINDOW_TYPE_HINT_DIALOG); own_window.set_type_hint (Gdk::WINDOW_TYPE_HINT_DIALOG);
#else #else
if (UIConfigurationBase::instance().get_all_floating_windows_are_dialogs ()) { if (UIConfigurationBase::instance().get_all_floating_windows_are_dialogs ()) {
own_window.set_type_hint (WINDOW_TYPE_HINT_DIALOG); own_window.set_type_hint (WINDOW_TYPE_HINT_DIALOG);