Skip to content

tablet: account for the activeClient to occasionally being nullptr

Aleix Pol Gonzalez requested to merge work/fix-crash-null-client into master

Instead use the device assigned output.

#0 KWin::Toplevel::screen() const (this=0x0) at /home/apol/devel/frameworks/kwin/src/toplevel.cpp:409 #1 (closed) 0x00007fe60ad9bef9 in KWin::LibInput::Connection::processEvents() (this=0x55d9efc155f0) at kwin/src/libinput/connection.cpp:579 #2 (closed) 0x00007fe60ad4987c in KWin::InputRedirection::setupLibInput()::$_3::operator()() const (this=0x55d9efc29a70) at kwin/src/input.cpp:2315

Merge request reports

Loading