summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-03-26 11:21:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-03-26 12:28:07 +0200
commitb0cf022ea75b763531e6ae63abccadf2bfa7a84b (patch)
treea113840f350f45c907d14597d5765f402201a164 /plugingui/nativewindow_x11.cc
parenta56b3d5eac05d0f51757d510553ad2d23b60235b (diff)
Make plugingui test app nest the UI in a native window.
Diffstat (limited to 'plugingui/nativewindow_x11.cc')
-rw-r--r--plugingui/nativewindow_x11.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc
index de2f1d1..989da4e 100644
--- a/plugingui/nativewindow_x11.cc
+++ b/plugingui/nativewindow_x11.cc
@@ -275,6 +275,11 @@ EventQueue NativeWindowX11::getEvents()
return events;
}
+void* NativeWindowX11::getNativeWindowHandle() const
+{
+ return (void*)xwindow;
+}
+
void NativeWindowX11::translateXMessage(XEvent& xevent)
{
switch(xevent.type)