From b0cf022ea75b763531e6ae63abccadf2bfa7a84b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 26 Mar 2017 11:21:43 +0200 Subject: Make plugingui test app nest the UI in a native window. --- plugingui/nativewindow_x11.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugingui/nativewindow_x11.cc') 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) -- cgit v1.2.3