Skip to content

Commit

Permalink
Removed setfullscreen resizeclient feature (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerjenigeUberMensch authored Jun 22, 2024
1 parent 19a498b commit 8f7cdab
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,14 +1432,11 @@ setfullscreen(Client *c, u8 state)
setclientnetstate(c, netatom[NetWMStateFullscreen], 1);
setborderwidth(c, c->bw);
setborderwidth(c, 0);
resizeclient(c, m->mx, m->wy, m->mw, m->mh);
XCBRaiseWindow(_wm.dpy, c->win);
}
else if(!state && ISFULLSCREEN(c))
{
setclientnetstate(c, netatom[NetWMStateFullscreen], 0);
setborderwidth(c, c->oldbw);
resizeclient(c, c->oldx, c->oldy, c->oldw, c->oldh);
}
SETFLAG(c->wstateflags, _STATE_FULLSCREEN, !!state);
}
Expand Down

0 comments on commit 8f7cdab

Please sign in to comment.