diff options
author | Tim Wiederhake <twied@gmx.net> | 2023-12-30 20:49:48 +0100 |
---|---|---|
committer | Tim Wiederhake <twied@gmx.net> | 2024-01-21 13:14:37 +0100 |
commit | f63f0a7416793f42030f56a79930b3f76c82a24d (patch) | |
tree | 76b5cccf1a5a9b10cee4f9c8dc68cf9e00936bf7 /src/twm.h | |
parent | 6e5c29e60d0acfeba32829f4aba7d6e7697ca8d1 (diff) |
Rename field 'class' to 'xclass' in TwmWindow
'class' is a keyword in c++. Its usage confuses some tools that work
with c and c++ source code.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/twm.h')
-rw-r--r-- | src/twm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -247,7 +247,7 @@ typedef struct TwmWindow { XSizeHints hints; /* normal hints */ XWMHints *wmhints; /* WM hints */ Window group; /* group ID */ - XClassHint class; + XClassHint xclass; struct WList *list; /*********************************************************************** * color definitions per window |