~mil/sxmo-st

d63db738320d25eac64cca1e6459667f1ee1c2eb — Stacy Harper 2 months ago 5422f73 0.8.3.4
fix the st wm-class appmenu detection

We should let the termname usage and not hardcode "st" which prevent
appmenu to detect the wm as st subprograms.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
1 files changed, 2 insertions(+), 2 deletions(-)

M x.c
M x.c => x.c +2 -2
@@ 880,8 880,8 @@ xclear(int x1, int y1, int x2, int y2)
void
xhints(void)
{
	XClassHint class = {opt_name ? opt_name : "st",
	                    opt_class ? opt_class : "St"};
	XClassHint class = {opt_name ? opt_name : termname,
	                    opt_class ? opt_class : termname};
	XWMHints wm = {.flags = InputHint, .input = 1};
	XSizeHints *sizeh;