ssd: add titleLayout setting

This commit is contained in:
Tobias Bengfort 2024-08-17 14:45:25 +02:00
parent 7125a312aa
commit 9a252249c9
4 changed files with 96 additions and 0 deletions

View file

@ -14,6 +14,7 @@
#include "config/tablet-tool.h"
#include "config/libinput.h"
#include "resize-indicator.h"
#include "ssd.h"
#include "theme.h"
enum view_placement_policy {
@ -45,6 +46,11 @@ enum tiling_events_mode {
(LAB_TILING_EVENTS_REGION | LAB_TILING_EVENTS_EDGE),
};
struct title_button {
enum ssd_part_type type;
struct wl_list link;
};
struct usable_area_override {
struct border margin;
char *output;
@ -75,7 +81,11 @@ struct rcxml {
/* theme */
char *theme_name;
struct wl_list title_buttons_left;
struct wl_list title_buttons_right;
int corner_radius;
bool show_title;
bool title_layout_loaded;
bool ssd_keep_border;
bool shadows_enabled;
struct font font_activewindow;