summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-02-05 21:46:49 +0100
committerAotrix <[email protected]>2026-02-05 21:46:49 +0100
commit40d7764631a85062afabd16f5c580ab6e26c092a (patch)
tree80c3d56c2add13e666ae6a73f1353e390ead60cc
parent7d8d2f14ab93935732c059cc4698ea7b154f7e40 (diff)
Set floating window property
-rw-r--r--gameView/main.cpp4
1 files changed, 3 insertions, 1 deletions
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;