Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42cb63
)
ecere/Win32 driver: Fixed lock-up on updating caption from other thread (#985)
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 24 Aug 2013 08:50:08 +0000
(
04:50
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 24 Aug 2013 08:50:08 +0000
(
04:50
-0400)
- Could happen from a window activation, visible property...
- This solved the IDE from hanging on GDB present but failing to start
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
575972c
..
a729512
100644
(file)
--- a/
ecere/src/gui/drivers/Win32Interface.ec
+++ b/
ecere/src/gui/drivers/Win32Interface.ec
@@
-1455,7
+1455,9
@@
class Win32Interface : Interface
void SetRootWindowCaption(Window window, char * name)
{
uint16 * text = UTF8toUTF16(name, null);
+ guiApp.Unlock();
SetWindowText(window.windowHandle, text);
+ guiApp.Lock();
delete text;
}