Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7766080
)
ecere(Linux/X11): Fix for annoying X error on startup (Was positionning the window...
author
Jerome St-Louis
<jstlouis@gallium.com>
Thu, 13 Oct 2011 21:00:27 +0000
(17:00 -0400)
committer
Jerome St-Louis
<jstlouis@gallium.com>
Thu, 13 Oct 2011 21:00:27 +0000
(17:00 -0400)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
039fe4b
..
4431a0e
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-1012,7
+1012,7
@@
private:
// This is required to get proper initial decoration size using native decorations on Windows
if(nativeDecorations && guiApp && guiApp.interfaceDriver && !visible)
- guiApp.interfaceDriver.PositionRootWindow(this, x, y,
size.w, size.h
, true, true);
+ guiApp.interfaceDriver.PositionRootWindow(this, x, y,
Max(1, size.w), Max(1, size.h)
, true, true);
GetDecorationsSize(&ew, &eh);
if(anchor.left.type >= cascade && (state == normal /*|| state == Hidden*/))