Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
000891f7
Commit
000891f7
authored
May 20, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Jul 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Set desktop settings handler before updating display devices.
parent
93199da8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
desktop.c
dlls/winex11.drv/desktop.c
+10
-10
No files found.
dlls/winex11.drv/desktop.c
View file @
000891f7
...
...
@@ -335,6 +335,16 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
max_width
=
primary_rect
.
right
;
max_height
=
primary_rect
.
bottom
;
/* Initialize virtual desktop display settings handler */
settings_handler
.
name
=
"Virtual Desktop"
;
settings_handler
.
priority
=
1000
;
settings_handler
.
get_id
=
X11DRV_desktop_get_id
;
settings_handler
.
get_modes
=
X11DRV_desktop_get_modes
;
settings_handler
.
free_modes
=
X11DRV_desktop_free_modes
;
settings_handler
.
get_current_mode
=
X11DRV_desktop_get_current_mode
;
settings_handler
.
set_current_mode
=
X11DRV_desktop_set_current_mode
;
X11DRV_Settings_SetHandler
(
&
settings_handler
);
/* Initialize virtual desktop mode display device handler */
desktop_handler
.
name
=
"Virtual Desktop"
;
desktop_handler
.
get_gpus
=
X11DRV_desktop_get_gpus
;
...
...
@@ -346,16 +356,6 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
desktop_handler
.
register_event_handlers
=
NULL
;
TRACE
(
"Display device functions are now handled by: Virtual Desktop
\n
"
);
X11DRV_DisplayDevices_Init
(
TRUE
);
/* Initialize virtual desktop display settings handler */
settings_handler
.
name
=
"Virtual Desktop"
;
settings_handler
.
priority
=
1000
;
settings_handler
.
get_id
=
X11DRV_desktop_get_id
;
settings_handler
.
get_modes
=
X11DRV_desktop_get_modes
;
settings_handler
.
free_modes
=
X11DRV_desktop_free_modes
;
settings_handler
.
get_current_mode
=
X11DRV_desktop_get_current_mode
;
settings_handler
.
set_current_mode
=
X11DRV_desktop_set_current_mode
;
X11DRV_Settings_SetHandler
(
&
settings_handler
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment