Added config key for default orientation of containers (new_container_orientation) and added support in randr.c for automatically changing the orientation when user does a xrandr rotate.
This commit is contained in:
committed by
Michael Stapelberg
parent
b484ed5f9d
commit
2f992f5c0e
@ -331,6 +331,8 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
|
||||
INIT_COLOR(config.bar.urgent, "#2f343a", "#900000", "#ffffff");
|
||||
|
||||
config.default_border = BS_NORMAL;
|
||||
/* Set default_orientation to NO_ORIENTATION for auto orientation. */
|
||||
config.default_orientation = NO_ORIENTATION;
|
||||
|
||||
parse_configuration(override_configpath);
|
||||
|
||||
|
Reference in New Issue
Block a user