mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: support <margin top="" bottom="" left="" right="" output="" />
This commit is contained in:
parent
3a9dcd54a7
commit
4a531daef8
5 changed files with 97 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <stdio.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
#include "common/border.h"
|
||||
#include "common/buf.h"
|
||||
#include "common/font.h"
|
||||
#include "config/libinput.h"
|
||||
|
|
@ -18,6 +19,12 @@ enum window_switcher_field_content {
|
|||
LAB_FIELD_TITLE,
|
||||
};
|
||||
|
||||
struct usable_area_override {
|
||||
struct border margin;
|
||||
char *output;
|
||||
struct wl_list link; /* struct rcxml.usable_area_overrides */
|
||||
};
|
||||
|
||||
struct window_switcher_field {
|
||||
enum window_switcher_field_content content;
|
||||
int width;
|
||||
|
|
@ -47,6 +54,9 @@ struct rcxml {
|
|||
/* Pointer to current theme */
|
||||
struct theme *theme;
|
||||
|
||||
/* <margin top="" bottom="" left="" right="" output="" /> */
|
||||
struct wl_list usable_area_overrides;
|
||||
|
||||
/* keyboard */
|
||||
int repeat_rate;
|
||||
int repeat_delay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue