diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/list.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -629,6 +629,7 @@ print_window_information (rp_window *win) %a - application name %c - resource class %i - X11 Window ID + %l - last access number */ static void @@ -681,6 +682,11 @@ format_window_name (char *fmt, rp_window *win, rp_window *other_win, sbuf_concat (buffer, dbuf); break; + case 'l': + snprintf (dbuf, 9, "%d", win->last_access); + sbuf_concat (buffer, dbuf); + break; + case '%': dbuf[0] = '%'; dbuf[1] = 0; |