From 40d7764631a85062afabd16f5c580ab6e26c092a Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Thu, 5 Feb 2026 21:46:49 +0100 Subject: Set floating window property --- gameView/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gameView/main.cpp b/gameView/main.cpp index dcbd4d9..838f147 100644 --- a/gameView/main.cpp +++ b/gameView/main.cpp @@ -11,7 +11,9 @@ int main(int argc, char *argv[]) { QApplication aApplication(argc, argv); QWidget aWindow; - aWindow.resize(1200, 1000); + aWindow.resize(500, 700); + // Set Dialog flag for i3 users + aWindow.setWindowFlag(Qt::WindowType::Dialog); QGridLayout aLayout(&aWindow); QListWidget aListWidget; -- cgit v1.2.3