diff --git a/CHANGELOG.md b/CHANGELOG.md index 95a282ff..cf42311a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Bugfix: Fixed a performance issue when displaying replies to certain messages. (#4807) - Bugfix: Fixed a data race when disconnecting from Twitch PubSub. (#4771) - Bugfix: Fixed `/shoutout` command not working with usernames starting with @'s (e.g. `/shoutout @forsen`). (#4800) +- Bugfix: Fixed Usercard popup not floating on tiling WMs on Linux when "Automatically close user popup when it loses focus" setting is enabled. (#3511) - Bugfix: Fixed selection of tabs after closing a tab when using "Live Tabs Only". (#4770) - Bugfix: Fixed input in reply thread popup losing focus when dragging. (#4815) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) diff --git a/src/widgets/DraggablePopup.cpp b/src/widgets/DraggablePopup.cpp index 1a38d13f..84a57c0f 100644 --- a/src/widgets/DraggablePopup.cpp +++ b/src/widgets/DraggablePopup.cpp @@ -13,15 +13,23 @@ namespace chatterino { namespace { #ifdef Q_OS_LINUX - FlagsEnum popupFlags{BaseWindow::Dialog, - BaseWindow::EnableCustomFrame}; + FlagsEnum popupFlags{ + BaseWindow::Dialog, + BaseWindow::EnableCustomFrame, + }; FlagsEnum popupFlagsCloseAutomatically{ - BaseWindow::EnableCustomFrame}; + BaseWindow::Dialog, + BaseWindow::EnableCustomFrame, + }; #else - FlagsEnum popupFlags{BaseWindow::EnableCustomFrame}; + FlagsEnum popupFlags{ + BaseWindow::EnableCustomFrame, + }; FlagsEnum popupFlagsCloseAutomatically{ - BaseWindow::EnableCustomFrame, BaseWindow::Frameless, - BaseWindow::FramelessDraggable}; + BaseWindow::EnableCustomFrame, + BaseWindow::Frameless, + BaseWindow::FramelessDraggable, + }; #endif } // namespace