diff options
-rw-r--r-- | src/layers.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layers.cpp b/src/layers.cpp index 0431fee..f5f7a89 100644 --- a/src/layers.cpp +++ b/src/layers.cpp @@ -208,6 +208,7 @@ void layer_map::setupArea(int output_w, int output_h) if(rct.h < 0) rct.h = output_h + 1 + rct.h; this->area2size[area] = rct; + this->area2size["normalfull"] = rct; // setup split.main area = "split.main"; @@ -224,9 +225,9 @@ void layer_map::setupArea(int output_w, int output_h) role = "HomeScreen"; rct = compositor::full_rect; if (rct.w <= 0) - rct.w = output_w + rct.w; + rct.w = output_w + rct.w + 1; if (rct.h <= 0) - rct.h = output_h + rct.h; + rct.h = output_h + rct.h + 1; this->area2size[area] = rct; // setup onscreen |