opt: not set maximized state in init when force_maximzie disable
This commit is contained in:
@@ -359,7 +359,7 @@ static inline void client_set_maximized(Client *c, bool maximized) {
|
|||||||
static inline void client_set_tiled(Client *c, uint32_t edges) {
|
static inline void client_set_tiled(Client *c, uint32_t edges) {
|
||||||
struct wlr_xdg_toplevel *toplevel;
|
struct wlr_xdg_toplevel *toplevel;
|
||||||
#ifdef XWAYLAND
|
#ifdef XWAYLAND
|
||||||
if (client_is_x11(c)) {
|
if (client_is_x11(c) && c->force_maximize) {
|
||||||
wlr_xwayland_surface_set_maximized(c->surface.xwayland,
|
wlr_xwayland_surface_set_maximized(c->surface.xwayland,
|
||||||
edges != WLR_EDGE_NONE,
|
edges != WLR_EDGE_NONE,
|
||||||
edges != WLR_EDGE_NONE);
|
edges != WLR_EDGE_NONE);
|
||||||
|
|||||||
Reference in New Issue
Block a user