Revert "parser: add CfgApplyEffects struct and extend CfgRule with fullscreen, can_float, can_fullscreen, apply_effects"
This reverts commit 690c328c38.
This commit is contained in:
@@ -19,18 +19,6 @@ struct wlr_scene_shadow;
|
||||
/* Client types */
|
||||
enum { XDGShell, LayerShell, X11 };
|
||||
|
||||
/* Per-client rule effects — standalone typedef (no parser.h include to avoid circular deps) */
|
||||
typedef struct {
|
||||
bool rounding;
|
||||
bool shadows;
|
||||
bool transparency;
|
||||
bool blur;
|
||||
bool gaps;
|
||||
bool smartgaps;
|
||||
bool border;
|
||||
bool sloppy_focus;
|
||||
} ClientRuleEffects;
|
||||
|
||||
typedef struct Client {
|
||||
/* Must keep this field first — union-cast discriminant */
|
||||
unsigned int type; /* XDGShell or X11 */
|
||||
@@ -62,15 +50,6 @@ typedef struct Client {
|
||||
struct wlr_scene_tree *scene_surface;
|
||||
struct wlr_xdg_toplevel_decoration_v1 *decoration;
|
||||
|
||||
/* Per-rule constraints and effects */
|
||||
bool can_float;
|
||||
bool can_fullscreen;
|
||||
ClientRuleEffects rule_effects;
|
||||
|
||||
/* Deferred monitor/tags — set by applyrules, used by setmon in mapnotify */
|
||||
Monitor *pending_mon;
|
||||
uint32_t pending_tags;
|
||||
|
||||
/* COLD — wl_listeners (set up once, rarely touched after) */
|
||||
struct wl_listener commit;
|
||||
struct wl_listener map;
|
||||
|
||||
Reference in New Issue
Block a user