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
2101d4d6
Commit
2101d4d6
authored
Jun 02, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use the helper to reset the clip rect when the desktop size changes.
parent
b7570b79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
queue.c
server/queue.c
+1
-1
user.h
server/user.h
+1
-0
window.c
server/window.c
+1
-1
No files found.
server/queue.c
View file @
2101d4d6
...
...
@@ -450,7 +450,7 @@ static void get_message_defaults( struct msg_queue *queue, int *x, int *y, unsig
}
/* set the cursor clip rectangle */
static
void
set_clip_rectangle
(
struct
desktop
*
desktop
,
const
rectangle_t
*
rect
,
int
send_clip_msg
)
void
set_clip_rectangle
(
struct
desktop
*
desktop
,
const
rectangle_t
*
rect
,
int
send_clip_msg
)
{
rectangle_t
top_rect
;
int
x
,
y
;
...
...
server/user.h
View file @
2101d4d6
...
...
@@ -109,6 +109,7 @@ extern void queue_cleanup_window( struct thread *thread, user_handle_t win );
extern
int
init_thread_queue
(
struct
thread
*
thread
);
extern
int
attach_thread_input
(
struct
thread
*
thread_from
,
struct
thread
*
thread_to
);
extern
void
detach_thread_input
(
struct
thread
*
thread_from
);
extern
void
set_clip_rectangle
(
struct
desktop
*
desktop
,
const
rectangle_t
*
rect
,
int
send_clip_msg
);
extern
void
post_message
(
user_handle_t
win
,
unsigned
int
message
,
lparam_t
wparam
,
lparam_t
lparam
);
extern
void
send_notify_message
(
user_handle_t
win
,
unsigned
int
message
,
...
...
server/window.c
View file @
2101d4d6
...
...
@@ -1829,7 +1829,7 @@ static void set_window_pos( struct window *win, struct window *previous,
}
/* reset cursor clip rectangle when the desktop changes size */
if
(
win
==
win
->
desktop
->
top_window
)
win
->
desktop
->
cursor
.
clip
=
*
window_rect
;
if
(
win
==
win
->
desktop
->
top_window
)
set_clip_rectangle
(
win
->
desktop
,
NULL
,
1
)
;
/* if the window is not visible, everything is easy */
if
(
!
visible
)
return
;
...
...
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