summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/events.c4
-rw-r--r--src/window.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/events.c b/src/events.c
index 766c708..60c4d93 100644
--- a/src/events.c
+++ b/src/events.c
@@ -144,7 +144,7 @@ unmap_notify (XEvent *ev)
break;
}
- update_window_names (win->scr);
+ update_window_names (win->scr, defaults.window_fmt);
}
static void
@@ -618,7 +618,7 @@ property_notify (XEvent *ev)
case XA_WM_NAME:
PRINT_DEBUG (("updating window name\n"));
update_window_name (win);
- update_window_names (win->scr);
+ update_window_names (win->scr, defaults.window_fmt);
break;
case XA_WM_NORMAL_HINTS:
diff --git a/src/window.c b/src/window.c
index 3d021a4..89e48d1 100644
--- a/src/window.c
+++ b/src/window.c
@@ -656,7 +656,7 @@ set_active_window_body (rp_window *win, int force)
hide_others(win);
/* Make sure the program bar is always on the top */
- update_window_names (win->scr);
+ update_window_names (win->scr, defaults.window_fmt);
XSync (dpy, False);