1
0
Fork 0

Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler.

This commit is contained in:
Henrik Hautakoski 2019-12-30 05:34:50 +01:00
parent 2b14977eed
commit c5648a5105

View file

@ -2,6 +2,7 @@
#include <Spectre/System/Log.h>
#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);
}
}