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
c3dcf1e2
Commit
c3dcf1e2
authored
Jul 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Dec 15, 2023
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use the capture window as cursor window if it is set.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55306
parent
82642e34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
queue.c
server/queue.c
+2
-1
No files found.
server/queue.c
View file @
c3dcf1e2
...
...
@@ -455,6 +455,7 @@ static int update_desktop_cursor_window( struct desktop *desktop, user_handle_t
static
int
update_desktop_cursor_pos
(
struct
desktop
*
desktop
,
user_handle_t
win
,
int
x
,
int
y
)
{
struct
thread_input
*
input
;
user_handle_t
capture
;
int
updated
;
x
=
max
(
min
(
x
,
desktop
->
cursor
.
clip
.
right
-
1
),
desktop
->
cursor
.
clip
.
left
);
...
...
@@ -464,7 +465,7 @@ static int update_desktop_cursor_pos( struct desktop *desktop, user_handle_t win
desktop
->
cursor
.
y
=
y
;
desktop
->
cursor
.
last_change
=
get_tick_count
();
if
(
!
win
&&
(
input
=
desktop
->
foreground_input
))
win
=
input
->
capture
;
if
(
(
input
=
desktop
->
foreground_input
)
&&
(
capture
=
input
->
capture
))
win
=
capture
;
if
(
!
win
||
!
is_window_visible
(
win
)
||
is_window_transparent
(
win
))
win
=
shallow_window_from_point
(
desktop
,
x
,
y
);
if
(
update_desktop_cursor_window
(
desktop
,
win
))
updated
=
1
;
...
...
Vitaly Lipatov
@lav
mentioned in commit
2e90c016
·
Feb 25, 2024
mentioned in commit
2e90c016
mentioned in commit 2e90c016968612689cbbb3de114e27e0e32f8ce2
Toggle commit list
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