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
b8501722
Commit
b8501722
authored
Feb 18, 2005
by
Krzysztof Foltman
Committed by
Alexandre Julliard
Feb 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure that caret position is not reset to (0, 0) when CreateCaret is
called second time with the same window.
parent
53ccd49c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
queue.c
server/queue.c
+9
-6
No files found.
server/queue.c
View file @
b8501722
...
...
@@ -175,11 +175,14 @@ static struct thread_input *foreground_input;
/* set the caret window in a given thread input */
static
void
set_caret_window
(
struct
thread_input
*
input
,
user_handle_t
win
)
{
if
(
!
win
||
win
!=
input
->
caret
)
{
input
->
caret_rect
.
left
=
0
;
input
->
caret_rect
.
top
=
0
;
input
->
caret_rect
.
right
=
0
;
input
->
caret_rect
.
bottom
=
0
;
}
input
->
caret
=
win
;
input
->
caret_rect
.
left
=
0
;
input
->
caret_rect
.
top
=
0
;
input
->
caret_rect
.
right
=
0
;
input
->
caret_rect
.
bottom
=
0
;
input
->
caret_hide
=
1
;
input
->
caret_state
=
0
;
}
...
...
@@ -1891,8 +1894,8 @@ DECL_HANDLER(set_caret_window)
reply
->
old_state
=
input
->
caret_state
;
set_caret_window
(
input
,
get_user_full_handle
(
req
->
handle
)
);
input
->
caret_rect
.
right
=
req
->
width
;
input
->
caret_rect
.
bottom
=
req
->
height
;
input
->
caret_rect
.
right
=
input
->
caret_rect
.
left
+
req
->
width
;
input
->
caret_rect
.
bottom
=
input
->
caret_rect
.
top
+
req
->
height
;
}
}
...
...
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