Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6349016
)
ecere/gui/Window: Fixed Alt-F4 to close maximized window with native decorations
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Aug 2013 14:27:32 +0000
(10:27 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 7 Aug 2013 14:27:32 +0000
(10:27 -0400)
- This problem has manifesting itself with the SimSkin
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
e2ba111
..
bed4c7c
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-2215,7
+2215,11
@@
private:
Point scroll = this.scroll;
if(state == maximized)
+ {
parent = GetParentMenuBar();
+ if(!parent && nativeDecorations)
+ parent = rootWindow;
+ }
if(parent)
{