Skip to content

Commit

Permalink
Ensure fake modal widget is a window
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Aug 1, 2024
1 parent 503c3c7 commit 993c0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Telegram/SourceFiles/platform/linux/specific_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void PortalAutostart(bool enabled, Fn<void(bool)> done) {

auto &raw = **window;
raw.setAttribute(Qt::WA_DontShowOnScreen);
raw.setWindowFlag(Qt::Window);
raw.setWindowModality(Qt::WindowModal);
raw.show();

Expand Down

0 comments on commit 993c0ee

Please sign in to comment.