Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler.
This commit is contained in:
parent
2b14977eed
commit
c5648a5105
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue