summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index c96769d86..4ae65083c 100644
--- a/window.c
+++ b/window.c
@@ -244,7 +244,7 @@ Window *BringWindowToFrontById(WindowClass cls, WindowNumber number)
if (w != NULL) {
w->flags4 |= WF_WHITE_BORDER_MASK;
SetWindowDirty(w);
- BringWindowToFront(w);
+ w = BringWindowToFront(w);
}
return w;