mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 05:57:27 +00:00
winex11.drv: Adjust the priority of NoRes display settings handler to 1.
A display settings handler with a priority of 0 can not be properly registered due to how
X11DRV_Settings_SetHandler() is implemented. Fix a regression introduced by 9c99d9bceb
.
Spotted by Torge Matthies.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50135
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
990fc66274
commit
c4a15755de
|
@ -168,7 +168,7 @@ void X11DRV_Settings_Init(void)
|
|||
depths = screen_bpp == 32 ? depths_32 : depths_24;
|
||||
|
||||
nores_handler.name = "NoRes";
|
||||
nores_handler.priority = 0;
|
||||
nores_handler.priority = 1;
|
||||
nores_handler.get_id = nores_get_id;
|
||||
nores_handler.get_modes = nores_get_modes;
|
||||
nores_handler.free_modes = nores_free_modes;
|
||||
|
|
Loading…
Reference in a new issue