MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / grabKeyboard

Method grabKeyboard

src/effect/effecthandler.cpp:433–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433bool EffectsHandler::grabKeyboard(Effect *effect)
434{
435 if (keyboard_grab_effect != nullptr) {
436 return false;
437 }
438 if (!doGrabKeyboard()) {
439 return false;
440 }
441 keyboard_grab_effect = effect;
442 return true;
443}
444
445bool EffectsHandler::doGrabKeyboard()
446{

Callers 1

startInternalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected