feat: raised max windows to 32

This commit is contained in:
2026-07-18 10:34:46 +02:00
parent 796ed46d12
commit 3ac25b7abd
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
namespace gui {
static constexpr int MAX_WINDOWS = 8;
static constexpr int MAX_WINDOWS = 32;
static constexpr int PANEL_HEIGHT = 32;
// External app discovered from 0:/apps/ manifest
@@ -187,7 +187,7 @@ struct DesktopState {
// IDs of external windows we've sent a close event to but that haven't
// been destroyed yet by their owning process. Prevents the poll loop
// from re-creating them at the default position (visible flicker).
static constexpr int MAX_CLOSING = 8;
static constexpr int MAX_CLOSING = MAX_WINDOWS;
int closing_ext_ids[MAX_CLOSING];
int closing_ext_count;