Disable the recursion locker.
This locker isn't needed for a top level dispatcher and it seems to break (at least in this case). I however assume this commit fixes a symptom not a cause...
This commit is contained in:
parent
6fc3fe8553
commit
d8fd44ce8d
1 changed files with 7 additions and 3 deletions
|
@ -87,6 +87,10 @@ static Uint32 popup_callback(Uint32 /*interval*/, void* /*param*/)
|
|||
|
||||
/**
|
||||
* Small helper to keep a resource (boolean) locked.
|
||||
*
|
||||
* @todo This locking breaks the window clicks in a nested window.
|
||||
*
|
||||
* Disabled for now fix properly later.
|
||||
*/
|
||||
class tlock
|
||||
{
|
||||
|
@ -95,13 +99,13 @@ public:
|
|||
: locked_(locked)
|
||||
{
|
||||
assert(!locked_);
|
||||
locked_ = true;
|
||||
// locked_ = true;
|
||||
}
|
||||
|
||||
~tlock()
|
||||
{
|
||||
assert(locked_);
|
||||
locked_ = false;
|
||||
// assert(locked_);
|
||||
// locked_ = false;
|
||||
}
|
||||
private:
|
||||
bool& locked_;
|
||||
|
|
Loading…
Add table
Reference in a new issue