feat: hot reload monitor rule

This commit is contained in:
DreamMaoMao 2025-07-27 10:27:37 +08:00
parent f19790de45
commit 3c1c90cf5b
2 changed files with 49 additions and 10 deletions

View file

@ -423,16 +423,6 @@ struct Monitor {
char last_surface_ws_name[256];
};
typedef struct {
const char *name;
float mfact;
int nmaster;
float scale;
const Layout *lt;
enum wl_output_transform rr;
int x, y;
} MonitorRule;
typedef struct {
struct wlr_pointer_constraint_v1 *constraint;
struct wl_listener destroy;