Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
fbaf31c5
Commit
fbaf31c5
authored
Mar 01, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Change virtual desktop refresh rate from 0 to 60.
parent
d1134196
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
desktop.c
dlls/winex11.drv/desktop.c
+3
-3
No files found.
dlls/winex11.drv/desktop.c
View file @
fbaf31c5
...
...
@@ -46,7 +46,7 @@ static void make_modes(void)
{
int
i
;
/* original specified desktop size */
X11DRV_Settings_AddOneMode
(
screen_width
,
screen_height
,
0
,
0
);
X11DRV_Settings_AddOneMode
(
screen_width
,
screen_height
,
0
,
6
0
);
for
(
i
=
0
;
i
<
NUM_DESKTOP_MODES
;
i
++
)
{
if
(
(
widths
[
i
]
<=
max_width
)
&&
(
heights
[
i
]
<=
max_height
)
)
...
...
@@ -55,14 +55,14 @@ static void make_modes(void)
(
(
widths
[
i
]
!=
screen_width
)
||
(
heights
[
i
]
!=
screen_height
)
)
)
{
/* only add them if they are smaller than the root window and unique */
X11DRV_Settings_AddOneMode
(
widths
[
i
],
heights
[
i
],
0
,
0
);
X11DRV_Settings_AddOneMode
(
widths
[
i
],
heights
[
i
],
0
,
6
0
);
}
}
}
if
((
max_width
!=
screen_width
)
&&
(
max_height
!=
screen_height
))
{
/* root window size (if different from desktop window) */
X11DRV_Settings_AddOneMode
(
max_width
,
max_height
,
0
,
0
);
X11DRV_Settings_AddOneMode
(
max_width
,
max_height
,
0
,
6
0
);
}
}
...
...
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