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:
Mark de Wever 2009-10-11 15:08:46 +00:00
parent 6fc3fe8553
commit d8fd44ce8d

View file

@ -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_;