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
f6662c7b
Commit
f6662c7b
authored
Apr 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Ignore ConfigureNotify events when a window is iconified.
parent
f294dda7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
winpos.c
dlls/winex11.drv/winpos.c
+1
-2
No files found.
dlls/winex11.drv/winpos.c
View file @
f6662c7b
...
@@ -549,7 +549,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
...
@@ -549,7 +549,7 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
if
(
!
hwnd
)
return
;
if
(
!
hwnd
)
return
;
if
(
!
(
data
=
X11DRV_get_win_data
(
hwnd
)))
return
;
if
(
!
(
data
=
X11DRV_get_win_data
(
hwnd
)))
return
;
if
(
!
data
->
mapped
)
return
;
if
(
!
data
->
mapped
||
data
->
iconic
)
return
;
/* Get geometry */
/* Get geometry */
...
@@ -586,7 +586,6 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
...
@@ -586,7 +586,6 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
hwnd
,
rect
.
left
,
rect
.
top
,
x
,
y
);
hwnd
,
rect
.
left
,
rect
.
top
,
x
,
y
);
if
((
rect
.
right
-
rect
.
left
==
cx
&&
rect
.
bottom
-
rect
.
top
==
cy
)
||
if
((
rect
.
right
-
rect
.
left
==
cx
&&
rect
.
bottom
-
rect
.
top
==
cy
)
||
IsIconic
(
hwnd
)
||
(
IsRectEmpty
(
&
rect
)
&&
event
->
width
==
1
&&
event
->
height
==
1
))
(
IsRectEmpty
(
&
rect
)
&&
event
->
width
==
1
&&
event
->
height
==
1
))
{
{
if
(
flags
&
SWP_NOMOVE
)
return
;
/* if nothing changed, don't do anything */
if
(
flags
&
SWP_NOMOVE
)
return
;
/* if nothing changed, don't do anything */
...
...
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