Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b539a571
Commit
b539a571
authored
Nov 20, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There's no need to initialize XKB on the GDI display, this saves a
couple of server round trips.
parent
f448b79e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
x11drv_main.c
dlls/x11drv/x11drv_main.c
+5
-15
No files found.
dlls/x11drv/x11drv_main.c
View file @
b539a571
...
...
@@ -337,20 +337,6 @@ static void process_attach(void)
}
else
screen_depth
=
DefaultDepthOfScreen
(
screen
);
/* check for Xkb extension */
#ifdef HAVE_XKB
if
(
use_xkb
)
{
int
xkb_opcode
,
xkb_event
,
xkb_error
;
int
xkb_major
=
XkbMajorVersion
,
xkb_minor
=
XkbMinorVersion
;
use_xkb
=
XkbQueryExtension
(
display
,
&
xkb_opcode
,
&
xkb_event
,
&
xkb_error
,
&
xkb_major
,
&
xkb_minor
);
if
(
use_xkb
)
/* we have XKB, approximate Windows behaviour */
XkbSetDetectableAutoRepeat
(
display
,
True
,
NULL
);
}
#endif
/* Initialize OpenGL */
X11DRV_OpenGL_Init
(
display
);
...
...
@@ -469,7 +455,11 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
WARN
(
"Can't open input method
\n
"
);
#ifdef HAVE_XKB
if
(
use_xkb
)
XkbSetDetectableAutoRepeat
(
data
->
display
,
True
,
NULL
);
if
(
use_xkb
)
{
use_xkb
=
XkbUseExtension
(
data
->
display
,
NULL
,
NULL
);
if
(
use_xkb
)
XkbSetDetectableAutoRepeat
(
data
->
display
,
True
,
NULL
);
}
#endif
if
(
synchronous
)
XSynchronize
(
data
->
display
,
True
);
...
...
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