Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update windows.c
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 27, 2024
1 parent aae56fc commit a8b5eab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/system/wm/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ void spawn_window(window_t *window) {
num_windows++;

// // TODO: Make this not hardcoded to window id 0?
// old_window_x[0] = window->x;
// old_window_y[0] = window->y;
// Doing this causes the window to not render?
old_window_x[0] = window->x;
old_window_y[0] = window->y;
window->initialized = false;

render_window_gui(window);
update_window(window);
} else {
dprintf("Maximum number of windows reached\n");
Expand Down

0 comments on commit a8b5eab

Please sign in to comment.