feat: raised max windows to 32

This commit is contained in:
daniel committed 2026-07-18 10:34:46 +02:00
1 parent 796ed46d12
commit 3ac25b7abd
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -449,8 +449,8 @@ static bool desktop_refresh_panel_state(DesktopState* ds, uint64_t now) {
bool desktop_poll_external_windows(DesktopState* ds) {
bool changed = false;
montauk::abi::WinInfo extWins[8];
int extCount = montauk::win_enumerate(extWins, 8);
montauk::abi::WinInfo extWins[MAX_WINDOWS];
int extCount = montauk::win_enumerate(extWins, MAX_WINDOWS);
// Check for new external windows and map them
for (int e = 0; e < extCount; e++) {