mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
revert "verify c->mon in setfullscreen()"
c->mon is set in mapnotify before setfullscreen() can be called,
so it is safe revert 144331e
This commit is contained in:
parent
0bb569913b
commit
82d83ec71d
1 changed files with 0 additions and 3 deletions
3
dwl.c
3
dwl.c
|
|
@ -1021,9 +1021,6 @@ togglefullscreen(const Arg *arg)
|
|||
void
|
||||
setfullscreen(Client *c, int fullscreen)
|
||||
{
|
||||
if (!c->mon)
|
||||
return;
|
||||
|
||||
c->isfullscreen = fullscreen;
|
||||
c->bw = (1 - fullscreen) * borderpx;
|
||||
client_set_fullscreen(c, fullscreen);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue