From 50957fe69ffac346a1dd691656b399a97362295c Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 22 Oct 2021 20:24:39 +0100 Subject: [PATCH] config: add some comments in "struct rcxml" --- include/config/rcxml.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/include/config/rcxml.h b/include/config/rcxml.h index 0738e730..d68af98c 100644 --- a/include/config/rcxml.h +++ b/include/config/rcxml.h @@ -9,23 +9,35 @@ #include "config/libinput.h" struct rcxml { + + /* core */ bool xdg_shell_server_side_deco; int gap; bool adaptive_sync; + + /* focus */ bool focus_follow_mouse; bool raise_on_focus; + + /* theme */ char *theme_name; int corner_radius; char *font_name_activewindow; char *font_name_menuitem; int font_size_activewindow; int font_size_menuitem; - struct wl_list keybinds; - struct wl_list mousebinds; - long doubleclick_time; /* in ms */ - struct wl_list libinput_categories; + + /* keyboard */ int repeat_rate; int repeat_delay; + struct wl_list keybinds; + + /* mouse */ + long doubleclick_time; /* in ms */ + struct wl_list mousebinds; + + /* libinput */ + struct wl_list libinput_categories; }; extern struct rcxml rc;