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
05f00f4e
Commit
05f00f4e
authored
Nov 11, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Allow windows in a virtual desktop to have X focus.
parent
3edbeed9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
window.c
dlls/winex11.drv/window.c
+5
-8
No files found.
dlls/winex11.drv/window.c
View file @
05f00f4e
...
...
@@ -2025,14 +2025,11 @@ void CDECL X11DRV_SetFocus( HWND hwnd )
wine_tsx11_lock
();
changes
.
stack_mode
=
Above
;
XConfigureWindow
(
display
,
data
->
whole_window
,
CWStackMode
,
&
changes
);
if
(
root_window
==
DefaultRootWindow
(
display
))
{
/* we must not use CurrentTime (ICCCM), so try to use last message time instead */
/* FIXME: this is not entirely correct */
XSetInputFocus
(
display
,
data
->
whole_window
,
RevertToParent
,
/* CurrentTime */
GetMessageTime
()
-
EVENT_x11_time_to_win32_time
(
0
));
}
/* we must not use CurrentTime (ICCCM), so try to use last message time instead */
/* FIXME: this is not entirely correct */
XSetInputFocus
(
display
,
data
->
whole_window
,
RevertToParent
,
/* CurrentTime */
GetMessageTime
()
-
EVENT_x11_time_to_win32_time
(
0
));
wine_tsx11_unlock
();
}
...
...
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