parent
25f4f24791
commit
992b03d8d2
|
@ -756,8 +756,8 @@ void screen_update_workarea(screen_t *screen)
|
||||||
|
|
||||||
area.x += left;
|
area.x += left;
|
||||||
area.y += top;
|
area.y += top;
|
||||||
area.width -= left + right;
|
area.width -= MIN(area.width, left + right);
|
||||||
area.height -= top + bottom;
|
area.height -= MIN(area.height, top + bottom);
|
||||||
|
|
||||||
if (AREA_EQUAL(area, screen->workarea))
|
if (AREA_EQUAL(area, screen->workarea))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue