X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fskins2%2Fx11%2Fx11_window.hpp;h=f20b06daf14ccbae666d620035481cf3291710f9;hb=04af5c7c7d1d6a779f73c2384c8e40a32cbe35d9;hp=186a8c2edef955906a8c37a9aa83a50dda7b0d19;hpb=823b07a0aa5fabf0a237fea20bcca1c3334111a6;p=vlc diff --git a/modules/gui/skins2/x11/x11_window.hpp b/modules/gui/skins2/x11/x11_window.hpp index 186a8c2ede..f20b06daf1 100644 --- a/modules/gui/skins2/x11/x11_window.hpp +++ b/modules/gui/skins2/x11/x11_window.hpp @@ -65,11 +65,22 @@ class X11Window: public OSWindow /// 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