Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler.
This commit is contained in:
parent
6dffb1619a
commit
053511453f
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
#include <Spectre/System/Log.h>
|
#include <Spectre/System/Log.h>
|
||||||
#include "X11EventQueue.h"
|
#include "X11EventQueue.h"
|
||||||
#include "X11SharedDisplay.h"
|
#include "X11SharedDisplay.h"
|
||||||
|
#include "X11WindowEventHandler.h"
|
||||||
|
|
||||||
namespace sp {
|
namespace sp {
|
||||||
|
|
||||||
|
|
@ -51,7 +52,8 @@ bool X11EventQueue::poll(Event& event)
|
||||||
//Log::info("X11: MouseMotionEvent");
|
//Log::info("X11: MouseMotionEvent");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Log::info("Unknown event");
|
// Pass to window.
|
||||||
|
X11WindowEventHandler::process(disp, xevent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue