Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d60a3e4
)
ecere/gui/Window: Fixed updating window caption
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 15 Feb 2014 22:08:05 +0000
(14:08 -0800)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 15 Feb 2014 22:08:05 +0000
(14:08 -0800)
ecere/src/gui/Window.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Window.ec
b/ecere/src/gui/Window.ec
index
6828800
..
9145029
100644
(file)
--- a/
ecere/src/gui/Window.ec
+++ b/
ecere/src/gui/Window.ec
@@
-4873,6
+4873,9
@@
private:
{
if(child.created && !child.Setup(false))
result = false;
+
+ if(guiApp.modeSwitching && guiApp.fullScreen && child.rootWindow == child)
+ child.UpdateCaption();
}
return result;
}
@@
-6271,6
+6274,8
@@
public:
parent.OnChildAddedOrRemoved(this, false);
+ if(rootWindow == this && visible) // So that X11 windows don't show as 'unknown'
+ UpdateCaption();
// Real set state & activate for proper display & activation
property::visible = visible;
// SetState(state & 0x00000003, true, 0);