Skip to content

keyboard: Run dispose manually on virtual input device when destroying

Jonas Dreßler requested to merge verdre/gnome-shell:keyboard-run-dispose into master

We want to make sure any buttons that are still pressed on the virtual input device used by the OSK are released immediately when destroying the OSK. Do this by calling run_dispose() on the destroy() function of the KeyboardController, which makes sure we don't have to wait for the garbage collection to dispose the object and a still pressed key remains being pressed until the GC kicks in.

Depends on mutter!1157 (merged)

Fixes: #956 (closed)

Related: #2287 (closed)

Edited by Jonas Dreßler

Merge request reports