load_prc_file_data('', 'window-title pmachines')
load_prc_file_data('', 'framebuffer-srgb true')
load_prc_file_data('', 'sync-video true')
+ if args.functional_test or args.functional_ref:
+ load_prc_file_data('', 'win-size 1280 720')
+ # otherwise it is not centered in exwm
# load_prc_file_data('', 'threading-model Cull/Draw')
# it freezes when you go to the next scene
if args.screenshot:
_res(idx) for idx in range(d_i.get_total_display_modes())]
res = sorted(resolutions)[-1]
fullscreen = self._options['settings']['fullscreen']
+ props = WindowProperties()
if args.functional_test or args.functional_ref:
- res = 1280, 720
fullscreen = False
- props = WindowProperties()
- props.set_size(res)
+ else:
+ props.set_size(res)
props.set_fullscreen(fullscreen)
props.set_icon_filename('assets/images/icon/pmachines.ico')
if not args.screenshot: