diff options
Diffstat (limited to 'clients/screenshooter.c')
-rw-r--r-- | clients/screenshooter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/screenshooter.c b/clients/screenshooter.c index 8c2b553..b68f4ad 100644 --- a/clients/screenshooter.c +++ b/clients/screenshooter.c @@ -406,6 +406,8 @@ screenshot_set_buffer_size_per_output(struct buffer_size *buff_size, buff_size->max_x = MAX(buff_size->max_x, output->offset_x + output->width); buff_size->max_y = MAX(buff_size->max_y, output->offset_y + output->height); + buff_size->width = buff_size->max_x - buff_size->min_x; + buff_size->height = buff_size->max_y - buff_size->min_y; } static void |