Fixed Usercard Popup not floating on tiling WMs on Linux (#3511)
This commit is contained in:
@@ -13,15 +13,23 @@ namespace chatterino {
|
||||
namespace {
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
FlagsEnum<BaseWindow::Flags> popupFlags{BaseWindow::Dialog,
|
||||
BaseWindow::EnableCustomFrame};
|
||||
FlagsEnum<BaseWindow::Flags> popupFlags{
|
||||
BaseWindow::Dialog,
|
||||
BaseWindow::EnableCustomFrame,
|
||||
};
|
||||
FlagsEnum<BaseWindow::Flags> popupFlagsCloseAutomatically{
|
||||
BaseWindow::EnableCustomFrame};
|
||||
BaseWindow::Dialog,
|
||||
BaseWindow::EnableCustomFrame,
|
||||
};
|
||||
#else
|
||||
FlagsEnum<BaseWindow::Flags> popupFlags{BaseWindow::EnableCustomFrame};
|
||||
FlagsEnum<BaseWindow::Flags> popupFlags{
|
||||
BaseWindow::EnableCustomFrame,
|
||||
};
|
||||
FlagsEnum<BaseWindow::Flags> popupFlagsCloseAutomatically{
|
||||
BaseWindow::EnableCustomFrame, BaseWindow::Frameless,
|
||||
BaseWindow::FramelessDraggable};
|
||||
BaseWindow::EnableCustomFrame,
|
||||
BaseWindow::Frameless,
|
||||
BaseWindow::FramelessDraggable,
|
||||
};
|
||||
#endif
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user