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
db057e70
Commit
db057e70
authored
Sep 26, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed X11 error code mismatch and removed debugging output.
parent
e6d8fdb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
event.c
dlls/x11drv/event.c
+2
-2
No files found.
dlls/x11drv/event.c
View file @
db057e70
...
...
@@ -371,7 +371,7 @@ static void EVENT_ProcessEvent( XEvent *event )
*/
static
int
set_focus_error_handler
(
Display
*
display
,
XErrorEvent
*
event
,
void
*
arg
)
{
return
(
event
->
error_code
==
Bad
Value
);
return
(
event
->
error_code
==
Bad
Match
);
}
...
...
@@ -399,7 +399,7 @@ static void set_focus( HWND hwnd, Time time )
TRACE
(
"setting focus to %x (%lx) time=%ld
\n
"
,
focus
,
win
,
time
);
X11DRV_expect_error
(
display
,
set_focus_error_handler
,
NULL
);
XSetInputFocus
(
display
,
win
,
RevertToParent
,
time
);
if
(
X11DRV_check_error
())
ERR
(
"got BadMatch, ignoring
\n
"
);
if
(
X11DRV_check_error
())
TRACE
(
"got BadMatch, ignoring
\n
"
);
}
}
...
...
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