Rather than rounding down, to make sure the framebuffer is large enough.
Fixes #296
import copy
import getopt
import hashlib
import copy
import getopt
import hashlib
import os
import posix
import pwd
import os
import posix
import pwd
o_height = int(detail.get("h")) + int(detail.get("y"))
width = max(width, o_width)
height = max(height, o_height)
o_height = int(detail.get("h")) + int(detail.get("y"))
width = max(width, o_width)
height = max(height, o_height)
- return int(width), int(height)
+ return math.ceil(width), math.ceil(height)
def apply_configuration(new_configuration, current_configuration, dry_run=False):
def apply_configuration(new_configuration, current_configuration, dry_run=False):