summaryrefslogtreecommitdiff
path: root/src/protocols/VirtualPointer.cpp
diff options
context:
space:
mode:
authorTom Englund <tomenglund26@gmail.com>2024-05-03 19:10:41 +0200
committerGitHub <noreply@github.com>2024-05-03 18:10:41 +0100
commit1c73beaf9bf98ba76f89fbfc137b51a0c92063a3 (patch)
tree679fbf5e1014ea29489da946fc2e734225ac8840 /src/protocols/VirtualPointer.cpp
parent8a2269272b6a9752cd48097e19c0bc0f3bdab191 (diff)
inputmgr: dont double free on hotplug (#5855)
* inputmgr: dont double free on hotplug since we are also unrefing the state on hotplugging the keyboard set the state to nullptr so the destructor if case actually catches its been already freed. * keybindgmgr: dont double free on layout switching d5bf153 added keymap unref at the end of updateXKBTranslationState to not leak it when exiting, only it causes updateXKBTranslationState to double free when changing layouts. since its already freed. remove the unneeded extra xkb_keymap_unref.
Diffstat (limited to 'src/protocols/VirtualPointer.cpp')
0 files changed, 0 insertions, 0 deletions