compositor: fixup tiling sizes for one pixel of overlap, not two

This commit is contained in:
K. Lange 2021-09-16 13:05:27 +09:00
parent c04800d100
commit aab68b8d95

View File

@ -1301,7 +1301,6 @@ static void window_tile(yutani_globals_t * yg, yutani_server_window_t * window,
/* If not right most */
if (x < width_div-1) {
w++;
tile &= ~YUTANI_RESIZE_TILE_RIGHT;
}
@ -1314,7 +1313,6 @@ static void window_tile(yutani_globals_t * yg, yutani_server_window_t * window,
/* If not bottom most */
if (y < height_div-1) {
h++;
tile &= ~YUTANI_RESIZE_TILE_DOWN;
}