Set proper motif wm hints name

Just a cosmetic change as the variable is currently not in use.
According to the Motif Toolkit API and MwmUtil.h, the last long
variable from the Motif WM Hints struct is currenlty used
for the status.
This commit is contained in:
David Maciejak authored and Carlos R. Mafra committed 2023-04-09 10:42:52 +01:00
1 parent ab45c6c6c2
commit 215b6ee2e6
1 file changed
+2 -2
+2 -2
View File
@@ -62,7 +62,7 @@ typedef struct {
long functions; long functions;
long decorations; long decorations;
long inputMode; long inputMode;
long unknown; long status;
} MWMHints; } MWMHints;
static Atom _XA_MOTIF_WM_HINTS; static Atom _XA_MOTIF_WM_HINTS;
@@ -180,7 +180,7 @@ static int getMWMHints(Window window, MWMHints *mwmhints)
mwmhints->decorations = data[2]; mwmhints->decorations = data[2];
mwmhints->inputMode = data[3]; mwmhints->inputMode = data[3];
if (count > 5) if (count > 5)
mwmhints->unknown = data[4]; mwmhints->status = data[4];
} }
XFree(data); XFree(data);