MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / SetIsModifierEvent

Function SetIsModifierEvent

cpp/webdriver-interactions/interactions_linux.cpp:213–217  ·  view source on GitHub ↗

Sets the is_modifier field of the GdkEvent according to the supplied boolean.

Source from the content-addressed store, hash-verified

211// Sets the is_modifier field of the GdkEvent according to the supplied
212// boolean.
213static void SetIsModifierEvent(GdkEvent* p_ev, bool is_modifier)
214{
215 assert(p_ev->type == GDK_KEY_RELEASE || p_ev->type == GDK_KEY_PRESS);
216 p_ev->key.is_modifier = (int) is_modifier;
217}
218
219KeypressEventsHandler::KeypressEventsHandler(GdkDrawable* win_handle, guint32 modifiers_state) :
220 modifiers_(), win_handle_(win_handle), last_event_time_(TimeSinceBootMsec()),

Callers 2

CreateEmptyKeyEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected