summaryrefslogtreecommitdiff
path: root/src/twm.h
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2023-12-30 20:49:48 +0100
committerTim Wiederhake <twied@gmx.net>2024-01-21 13:14:37 +0100
commitf63f0a7416793f42030f56a79930b3f76c82a24d (patch)
tree76b5cccf1a5a9b10cee4f9c8dc68cf9e00936bf7 /src/twm.h
parent6e5c29e60d0acfeba32829f4aba7d6e7697ca8d1 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/twm.h b/src/twm.h
index b360d35..46ddd2a 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -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