This is backporting a change from 2.8, which may help solve crashes when activating a window. Previously bringTabletContextToFront() would call tablet API functions with NULL tablet, which may crash on some drivers. Ref T60811.
This is backporting a change from 2.8, which may help solve crashes when activating a window. Previously bringTabletContextToFront() would call tablet API functions with NULL tablet, which may crash on some drivers. Ref T60811.