From 053511453f1a7a0f7cef170e48427bb8ed85755a Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 30 Dec 2019 05:34:50 +0100 Subject: [PATCH] Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler. --- source/Platform/Unix/X11EventQueue.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Platform/Unix/X11EventQueue.cpp b/source/Platform/Unix/X11EventQueue.cpp index 63b2aae..be51bac 100644 --- a/source/Platform/Unix/X11EventQueue.cpp +++ b/source/Platform/Unix/X11EventQueue.cpp @@ -2,6 +2,7 @@ #include #include "X11EventQueue.h" #include "X11SharedDisplay.h" +#include "X11WindowEventHandler.h" namespace sp { @@ -51,7 +52,8 @@ bool X11EventQueue::poll(Event& event) //Log::info("X11: MouseMotionEvent"); break; default: - Log::info("Unknown event"); + // Pass to window. + X11WindowEventHandler::process(disp, xevent); } }