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
4f0f7dec
Commit
4f0f7dec
authored
Jan 31, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Consider zero-size windows mapped even when they are positioned at 0,0.
parent
804a9d80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
x11drv.h
dlls/winex11.drv/x11drv.h
+4
-2
No files found.
dlls/winex11.drv/x11drv.h
View file @
4f0f7dec
...
...
@@ -648,8 +648,10 @@ static inline void mirror_rect( const RECT *window_rect, RECT *rect )
static
inline
BOOL
is_window_rect_mapped
(
const
RECT
*
rect
)
{
return
(
rect
->
left
<
virtual_screen_rect
.
right
&&
rect
->
top
<
virtual_screen_rect
.
bottom
&&
rect
->
right
>
virtual_screen_rect
.
left
&&
rect
->
bottom
>
virtual_screen_rect
.
top
);
return
(
rect
->
left
<
virtual_screen_rect
.
right
&&
rect
->
top
<
virtual_screen_rect
.
bottom
&&
max
(
rect
->
right
,
rect
->
left
+
1
)
>
virtual_screen_rect
.
left
&&
max
(
rect
->
bottom
,
rect
->
top
+
1
)
>
virtual_screen_rect
.
top
);
}
static
inline
BOOL
is_window_rect_fullscreen
(
const
RECT
*
rect
)
...
...
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