projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78cdb02
)
Fix: Handle missing (NULL pointer) output for separator.
author
Tobias R. Henle
<tobias@page23.de>
Mon, 5 Apr 2021 19:28:21 +0000
(21:28 +0200)
committer
Tobias R. Henle
<tobias@page23.de>
Mon, 5 Apr 2021 19:28:21 +0000
(21:28 +0200)
xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/xmenu.c
b/xmenu.c
index
a4c29e1
..
9b3a250
100644
(file)
--- a/
xmenu.c
+++ b/
xmenu.c
@@
-721,8
+721,10
@@
setupmenu(struct Menu *menu, XClassHint *classh)
/* set window title (used if wflag is on) */
if (menu->parent == NULL) {
title = classh->res_name;
/* set window title (used if wflag is on) */
if (menu->parent == NULL) {
title = classh->res_name;
- } else {
+ } else
if (menu->caller->output)
{
title = menu->caller->output;
title = menu->caller->output;
+ } else {
+ title = "\0";
}
XStringListToTextProperty(&title, 1, &wintitle);
}
XStringListToTextProperty(&title, 1, &wintitle);