mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
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:
committed by
Carlos R. Mafra
parent
ab45c6c6c2
commit
215b6ee2e6
@@ -62,7 +62,7 @@ typedef struct {
|
||||
long functions;
|
||||
long decorations;
|
||||
long inputMode;
|
||||
long unknown;
|
||||
long status;
|
||||
} MWMHints;
|
||||
|
||||
static Atom _XA_MOTIF_WM_HINTS;
|
||||
@@ -180,7 +180,7 @@ static int getMWMHints(Window window, MWMHints *mwmhints)
|
||||
mwmhints->decorations = data[2];
|
||||
mwmhints->inputMode = data[3];
|
||||
if (count > 5)
|
||||
mwmhints->unknown = data[4];
|
||||
mwmhints->status = data[4];
|
||||
}
|
||||
XFree(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user