From 6e5c29e60d0acfeba32829f4aba7d6e7697ca8d1 Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Sat, 30 Dec 2023 20:49:48 +0100 Subject: 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 --- src/twm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/twm.h') 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; -- cgit v1.2.3