Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7ad3d
)
ecere/gui/drivers/Win32: Removed useless call to GetWindowPlacement()
author
Rejean Loyer
<redj@ecere.com>
Thu, 16 Oct 2014 04:40:47 +0000
(
00:40
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Mon, 21 Dec 2015 19:29:48 +0000
(14:29 -0500)
ecere/src/gui/drivers/Win32Interface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/Win32Interface.ec
b/ecere/src/gui/drivers/Win32Interface.ec
index
f02f601
..
ab813ed
100644
(file)
--- a/
ecere/src/gui/drivers/Win32Interface.ec
+++ b/
ecere/src/gui/drivers/Win32Interface.ec
@@
-954,11
+954,8
@@
class Win32Interface : Interface
case WM_MOVE:
{
int x, y, w, h;
- WINDOWPLACEMENT placement = { 0 };
RECT rcWindow;
- placement.length = sizeof(WINDOWPLACEMENT);
GetWindowRect(windowHandle, &rcWindow);
- GetWindowPlacement(windowHandle, &placement);
x = rcWindow.left - desktopX;
y = rcWindow.top - desktopY;