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
commit6e5c29e60d0acfeba32829f4aba7d6e7697ca8d1 (patch)
tree98add0e6fe503174831f1f9d9f2b0320276f9f5f /src/twm.h
parent878117d8c70564983afddfb2bb26daa71f25b8c1 (diff)
Rename field 'class' to 'xclass' in TWMWinConfigEntry
'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 ed179aa..b360d35 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -303,7 +303,7 @@ typedef struct TWMWinConfigEntry {
int tag;
char *client_id;
char *window_role;
- XClassHint class;
+ XClassHint xclass;
char *wm_name;
int wm_command_count;
char **wm_command;