kit: update comments

Change-Id: Iad4844effdb6b984fe33a08d15dc837d6ff3f364
Signed-off-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
Henry Castro 2021-11-03 10:45:49 -04:00 committed by Jan Holesovsky
parent c85ac0cce6
commit d399b46dc1

View file

@ -1546,7 +1546,7 @@ bool ChildSession::mouseEvent(const char* /*buffer*/, int /*length*/,
{
bool success = true;
// default values for compatibility reasons with older loleaflets
// default values for compatibility reasons with older cools
int buttons = 1; // left button
int modifier = 0;
@ -1582,11 +1582,11 @@ bool ChildSession::mouseEvent(const char* /*buffer*/, int /*length*/,
success = false;
}
// compatibility with older loleaflets
// compatibility with older cools
if (success && tokens.size() > counter && !getTokenInteger(tokens[counter++], "buttons", buttons))
success = false;
// compatibility with older loleaflets
// compatibility with older cools
if (success && tokens.size() > counter && !getTokenInteger(tokens[counter++], "modifier", modifier))
success = false;