diff --git a/src/system/wm/windows.c b/src/system/wm/windows.c index d8a7749..0a11f8d 100644 --- a/src/system/wm/windows.c +++ b/src/system/wm/windows.c @@ -115,10 +115,10 @@ void update_window(window_t *window) { if (old_window_x[0] != window->x || old_window_y[0] != window->y) { remove_window_gui(window); - render_window_gui(window); old_window_x[0] = window->x; old_window_y[0] = window->y; } + render_window_gui(window); } void update_all_windows() {