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
a2ae9829
Commit
a2ae9829
authored
Sep 10, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore size change on ConfigureNotify if window rect is empty and new
size is 1x1.
parent
0d92fe20
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
winpos.c
dlls/x11drv/winpos.c
+3
-2
No files found.
dlls/x11drv/winpos.c
View file @
a2ae9829
...
...
@@ -1416,8 +1416,9 @@ void X11DRV_ConfigureNotify( HWND hwnd, XConfigureEvent *event )
TRACE
(
"%04x moving from (%d,%d) to (%d,%d)
\n
"
,
hwnd
,
rect
.
left
,
rect
.
top
,
winpos
.
x
,
winpos
.
y
);
if
(
rect
.
right
-
rect
.
left
==
winpos
.
cx
&&
rect
.
bottom
-
rect
.
top
==
winpos
.
cy
)
winpos
.
flags
|=
SWP_NOSIZE
;
if
((
rect
.
right
-
rect
.
left
==
winpos
.
cx
&&
rect
.
bottom
-
rect
.
top
==
winpos
.
cy
)
||
(
IsRectEmpty
(
&
rect
)
&&
winpos
.
cx
==
1
&&
winpos
.
cy
==
1
))
winpos
.
flags
|=
SWP_NOSIZE
;
else
TRACE
(
"%04x resizing from (%dx%d) to (%dx%d)
\n
"
,
hwnd
,
rect
.
right
-
rect
.
left
,
rect
.
bottom
-
rect
.
top
,
...
...
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