Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a76f60d1
Commit
a76f60d1
authored
Sep 04, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Always repaint the whole non-client area if part of it is exposed.
parent
2dc234d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
window.c
server/window.c
+8
-0
No files found.
server/window.c
View file @
a76f60d1
...
@@ -1631,6 +1631,14 @@ static void set_window_pos( struct window *win, struct window *previous,
...
@@ -1631,6 +1631,14 @@ static void set_window_pos( struct window *win, struct window *previous,
client_rect
->
bottom
-
old_client_rect
.
bottom
!=
y_offset
||
client_rect
->
bottom
-
old_client_rect
.
bottom
!=
y_offset
||
!
valid_rects
||
!
valid_rects
||
memcmp
(
&
valid_rects
[
0
],
client_rect
,
sizeof
(
*
client_rect
)
));
memcmp
(
&
valid_rects
[
0
],
client_rect
,
sizeof
(
*
client_rect
)
));
/* if part of the non-client area was exposed, consider it changed */
if
(
exposed_rgn
&&
!
frame_changed
)
{
get_region_extents
(
exposed_rgn
,
&
rect
);
offset_rect
(
&
rect
,
client_rect
->
left
,
client_rect
->
top
);
frame_changed
=
(
rect
.
left
<
client_rect
->
left
||
rect
.
top
<
client_rect
->
top
||
rect
.
right
>
client_rect
->
right
||
rect
.
bottom
>
client_rect
->
bottom
);
}
}
}
if
(
frame_changed
||
client_changed
)
if
(
frame_changed
||
client_changed
)
...
...
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