mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
opt: not set maximized state in init when force_maximzie disable
This commit is contained in:
parent
32c4d621fd
commit
f103ed46c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue