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
96dad15f
Commit
96dad15f
authored
Oct 22, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XQueryKeymap -> TSXQueryKeymap (fixes the XIO errors reported).
parent
8163465a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
1 deletion
+17
-1
ts_xlib.h
include/ts_xlib.h
+1
-0
make_X11wrappers
tools/make_X11wrappers
+3
-0
X11_calls
tsx11/X11_calls
+1
-0
ts_xlib.c
tsx11/ts_xlib.c
+11
-0
keyboard.c
windows/keyboard.c
+1
-1
No files found.
include/ts_xlib.h
View file @
96dad15f
...
...
@@ -93,6 +93,7 @@ extern int TSXPending(Display*);
extern
int
TSXPutBackEvent
(
Display
*
,
XEvent
*
);
extern
int
TSXPutImage
(
Display
*
,
Drawable
,
GC
,
XImage
*
,
int
,
int
,
int
,
int
,
unsigned
int
,
unsigned
int
);
extern
int
TSXQueryColor
(
Display
*
,
Colormap
,
XColor
*
);
extern
int
TSXQueryKeymap
(
Display
*
,
char
*
);
extern
int
TSXQueryPointer
(
Display
*
,
Window
,
Window
*
,
Window
*
,
int
*
,
int
*
,
int
*
,
int
*
,
unsigned
int
*
);
extern
int
TSXQueryTree
(
Display
*
,
Window
,
Window
*
,
Window
*
,
Window
**
,
unsigned
int
*
);
extern
int
TSXResetScreenSaver
(
Display
*
);
...
...
tools/make_X11wrappers
View file @
96dad15f
...
...
@@ -173,6 +173,9 @@ END
}
if
(
m
'\s*([^,]*[^, \t])\s*(,?\n)'
)
{
$args
[
$#args
+
1
]
=
$1
;
if
(
$1
=~
/char\s*\[/
)
{
# small hack for XQueryKeymap
$args
[
$#args
]
=
"char*"
;
}
}
}
# Skip if vararg, function pointer arg, or not needed.
...
...
tsx11/X11_calls
View file @
96dad15f
...
...
@@ -101,6 +101,7 @@ XPolygonRegion
XPutBackEvent
XPutImage
XQueryColor
XQueryKeymap
XQueryPointer
XQueryTree
XReconfigureWMWindow
...
...
tsx11/ts_xlib.c
View file @
96dad15f
...
...
@@ -908,6 +908,17 @@ int TSXQueryColor(Display* a0, Colormap a1, XColor* a2)
return
r
;
}
int
TSXQueryKeymap
(
Display
*
a0
,
char
*
a1
)
{
int
r
;
TRACE
(
x11
,
"Call XQueryKeymap
\n
"
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
r
=
XQueryKeymap
(
a0
,
a1
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
TRACE
(
x11
,
"Ret XQueryKeymap
\n
"
);
return
r
;
}
int
TSXQueryPointer
(
Display
*
a0
,
Window
a1
,
Window
*
a2
,
Window
*
a3
,
int
*
a4
,
int
*
a5
,
int
*
a6
,
int
*
a7
,
unsigned
int
*
a8
)
{
int
r
;
...
...
windows/keyboard.c
View file @
96dad15f
...
...
@@ -449,7 +449,7 @@ void KEYBOARD_UpdateState ( void )
KEYLP
keylp
;
TRACE
(
keyboard
,
"called
\n
"
);
if
(
!
XQueryKeymap
(
display
,
keys_return
))
{
if
(
!
TS
XQueryKeymap
(
display
,
keys_return
))
{
ERR
(
keyboard
,
"Error getting keymap !"
);
return
;
}
...
...
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