Merge branch 'main' into wlroots-next
This commit is contained in:
commit
40e45a336a
2
dwl.c
2
dwl.c
@ -1025,7 +1025,7 @@ void
|
|||||||
setfullscreen(Client *c, int fullscreen)
|
setfullscreen(Client *c, int fullscreen)
|
||||||
{
|
{
|
||||||
c->isfullscreen = fullscreen;
|
c->isfullscreen = fullscreen;
|
||||||
c->bw = (1 - fullscreen) * borderpx;
|
c->bw = fullscreen ? 0 : borderpx;
|
||||||
client_set_fullscreen(c, fullscreen);
|
client_set_fullscreen(c, fullscreen);
|
||||||
|
|
||||||
if (fullscreen) {
|
if (fullscreen) {
|
||||||
|
Loading…
Reference in New Issue
Block a user