mirror of
https://github.com/hyprwm/aquamarine.git
synced 2025-01-03 18:39:48 +01:00
session: clear libinput devices before unrefing libinput
thanks @ikalco
This commit is contained in:
parent
4ca125d05a
commit
a0cfad9ec0
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ SP<CSession> Aquamarine::CSession::attempt(Hyprutils::Memory::CSharedPointer<CBa
|
||||||
|
|
||||||
Aquamarine::CSession::~CSession() {
|
Aquamarine::CSession::~CSession() {
|
||||||
sessionDevices.clear();
|
sessionDevices.clear();
|
||||||
|
libinputDevices.clear();
|
||||||
|
|
||||||
if (libinputHandle)
|
if (libinputHandle)
|
||||||
libinput_unref(libinputHandle);
|
libinput_unref(libinputHandle);
|
||||||
|
|
Loading…
Reference in a new issue