summaryrefslogtreecommitdiff
path: root/src/lx_panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lx_panel.c')
-rw-r--r--src/lx_panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lx_panel.c b/src/lx_panel.c
index 7104384..f1d0686 100644
--- a/src/lx_panel.c
+++ b/src/lx_panel.c
@@ -124,6 +124,7 @@ LXGetManualPanelMode(char *modestr)
sprintf(sname, "%dx%d", hactive, vactive);
mode->name = xnfalloc(strlen(sname) + 1);
+ strcpy(mode->name, sname);
mode->type = M_T_DRIVER | M_T_PREFERRED;
mode->Clock = clock;