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
db43e7a5
Commit
db43e7a5
authored
Mar 05, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Ignore Map/UnmapNotify if the window is already in the appropriate state.
parent
2c22e9ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
winpos.c
dlls/winex11.drv/winpos.c
+2
-1
No files found.
dlls/winex11.drv/winpos.c
View file @
db43e7a5
...
...
@@ -455,6 +455,7 @@ void X11DRV_MapNotify( HWND hwnd, XEvent *event )
if
(
hwndFocus
&&
IsChild
(
hwnd
,
hwndFocus
))
X11DRV_SetFocus
(
hwndFocus
);
/* FIXME */
return
;
}
if
(
!
data
->
iconic
)
return
;
state
=
get_window_wm_state
(
event
->
xmap
.
display
,
data
);
if
(
state
==
NormalState
)
...
...
@@ -502,7 +503,7 @@ void X11DRV_UnmapNotify( HWND hwnd, XEvent *event )
int
state
;
if
(
!
(
data
=
X11DRV_get_win_data
(
hwnd
)))
return
;
if
(
!
data
->
managed
||
!
data
->
mapped
)
return
;
if
(
!
data
->
managed
||
!
data
->
mapped
||
data
->
iconic
)
return
;
state
=
get_window_wm_state
(
event
->
xunmap
.
display
,
data
);
if
(
state
==
IconicState
)
...
...
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