/// Get the window ID
Window getDrawable() const { return m_wnd; }
+ /// Getter for the handler
+ void* getOSHandle() const { return (void*) m_wnd; }
+
+ /// Getter for the handler
+ void* getParentOSHandle() const { return (void*) m_wnd_parent; }
+
+ /// reparent the window
+ void reparent( void* OSHandle, int x, int y, int w, int h );
+
private:
/// X11 display
X11Display &m_rDisplay;
/// Window ID
Window m_wnd;
+ /// Window ID
+ Window m_wnd_parent;
/// Parent window
X11Window *m_pParent;
/// Indicates whether the window handles drag&drop events