[broadway] Fixup ungrab reference to old time variable

This commit is contained in:
Alexander Larsson 2011-04-06 11:00:32 +02:00
parent 05bda376f6
commit 8831efa735

View File

@ -272,11 +272,7 @@ function cmdUngrabPointer()
{ {
sendInput ("u", []); sendInput ("u", []);
if (grab.window != null) { grab.window = null;
if (grab.time == 0 || time == 0 ||
grab.time < time)
grab.window = null;
}
} }
function handleCommands(cmdObj) function handleCommands(cmdObj)