mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
x11/output: Fix init tile info guard
Monitor tile info is possible to fetch when RANDR version 15 is exposed by the X11 server. We had inverted the check meaning that only if older versions were advertised would we attempt to init the tile information. Fix this guard, thus fix monitor tiling on X11. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1524
This commit is contained in:
parent
25bb5676df
commit
4ecc80fd80
@ -848,7 +848,7 @@ meta_output_xrandr_new (MetaGpuXrandr *gpu_xrandr,
|
|||||||
output_info->height_mm = xrandr_output->mm_height;
|
output_info->height_mm = xrandr_output->mm_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!meta_monitor_manager_xrandr_has_randr15 (monitor_manager_xrandr))
|
if (meta_monitor_manager_xrandr_has_randr15 (monitor_manager_xrandr))
|
||||||
output_info_init_tile_info (output_info, xdisplay, output_id);
|
output_info_init_tile_info (output_info, xdisplay, output_id);
|
||||||
output_info_init_modes (output_info, gpu, xrandr_output);
|
output_info_init_modes (output_info, gpu, xrandr_output);
|
||||||
output_info_init_crtcs (output_info, gpu, xrandr_output);
|
output_info_init_crtcs (output_info, gpu, xrandr_output);
|
||||||
|
Loading…
Reference in New Issue
Block a user