summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index d1c9e80..beae5df 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -146,6 +146,7 @@ void winwidget_create_window(winwidget ret, int w, int h)
Atom prop = None;
int x = 0;
int y = 0;
+ char *tmpname;
D(("winwidget_create_window %dx%d\n", w, h));
@@ -196,6 +197,13 @@ void winwidget_create_window(winwidget ret, int w, int h)
#endif /* HAVE_LIBXINERAMA */
}
+ if (opt.paused) {
+ printf("name %s\n", ret->name);
+ tmpname = estrjoin(" ", ret->name, "[Paused]", NULL);
+ free(ret->name);
+ ret->name = tmpname;
+ }
+
ret->x = x;
ret->y = y;
ret->w = w;