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
c975876c
Commit
c975876c
authored
Jan 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Don't fetch the atom for a null device type.
parent
bf89330f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wintab.c
dlls/winex11.drv/wintab.c
+3
-3
No files found.
dlls/winex11.drv/wintab.c
View file @
c975876c
...
...
@@ -514,10 +514,10 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
for
(
loop
=
0
;
loop
<
num_devices
;
loop
++
)
{
int
class_loop
;
char
*
device_type
=
XGetAtomName
(
data
->
display
,
devices
[
loop
].
type
)
;
char
*
device_type
=
devices
[
loop
].
type
?
XGetAtomName
(
data
->
display
,
devices
[
loop
].
type
)
:
NULL
;
TRACE
(
"Device %i: [id %d|name %s|type %s|num_classes %d|use %s]
\n
"
,
loop
,
(
int
)
devices
[
loop
].
id
,
devices
[
loop
].
name
,
device_type
,
loop
,
(
int
)
devices
[
loop
].
id
,
devices
[
loop
].
name
,
device_type
?
device_type
:
""
,
devices
[
loop
].
num_classes
,
devices
[
loop
].
use
==
IsXKeyboard
?
"IsXKeyboard"
:
devices
[
loop
].
use
==
IsXPointer
?
"IsXPointer"
:
...
...
@@ -580,7 +580,7 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
if
(
!
IS_TABLET_CURSOR
(
target
->
name
,
device_type
))
{
WARN
(
"Skipping device %d [name %s|type %s]; not apparently a tablet cursor type device
\n
"
,
loop
,
devices
[
loop
].
name
,
device_type
);
loop
,
devices
[
loop
].
name
,
device_type
?
device_type
:
""
);
XFree
(
device_type
);
cursor_target
--
;
continue
;
...
...
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