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
cae37b18
Commit
cae37b18
authored
Jan 25, 2007
by
Ulrich Czekalla
Committed by
Alexandre Julliard
Jan 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineserver: Validate the children of windows being hidden.
Prevents paint_count values from being skewed when hiding windows.
parent
305e4949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
window.c
server/window.c
+15
-0
No files found.
server/window.c
View file @
cae37b18
...
...
@@ -1037,6 +1037,20 @@ static void validate_whole_window( struct window *win )
}
/* validate a window's children so that we don't get any further paint messages for it */
static
void
validate_children
(
struct
window
*
win
)
{
struct
window
*
child
;
LIST_FOR_EACH_ENTRY
(
child
,
&
win
->
children
,
struct
window
,
entry
)
{
if
(
!
(
child
->
style
&
WS_VISIBLE
))
continue
;
validate_children
(
child
);
validate_whole_window
(
child
);
}
}
/* validate the update region of a window on all parents; helper for redraw_window */
static
void
validate_parents
(
struct
window
*
child
)
{
...
...
@@ -1370,6 +1384,7 @@ static void set_window_pos( struct window *win, struct window *previous,
{
/* clear the update region since the window is no longer visible */
validate_whole_window
(
win
);
validate_children
(
win
);
goto
done
;
}
...
...
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