File fix-debug-eis-crash.patch of Package kwin6

Index: kwin-6.5.91/src/plugins/eis/eiscontext.cpp
===================================================================
--- kwin-6.5.91.orig/src/plugins/eis/eiscontext.cpp
+++ kwin-6.5.91/src/plugins/eis/eiscontext.cpp
@@ -219,6 +219,10 @@ void EisContext::handleEvents()
         }
         case EIS_EVENT_FRAME: {
             auto device = eventDevice(event);
+            if (!device) {
+                qCCritical(KWIN_EIS) << "EventDevice NULL";
+                break;
+            }
             qCDebug(KWIN_EIS) << "Frame for device" << device->name();
             if (device->isTouch()) {
                 Q_EMIT device->touchFrame(device);
openSUSE Build Service is sponsored by