diff --git a/xcbutils.h b/xcbutils.h index d45cfdf682..a944e61647 100644 --- a/xcbutils.h +++ b/xcbutils.h @@ -374,6 +374,7 @@ public: * @param parent The parent window **/ Window(const QRect &geometry, uint16_t windowClass, uint32_t mask = 0, const uint32_t *values = NULL, xcb_window_t parent = rootWindow()); + Window(const Window &other) = delete; ~Window(); /** @@ -430,7 +431,6 @@ public: void selectInput(uint32_t events); operator xcb_window_t() const; private: - Window(const Window &other); xcb_window_t doCreate(const QRect &geometry, uint16_t windowClass, uint32_t mask = 0, const uint32_t *values = NULL, xcb_window_t parent = rootWindow()); void destroy(); xcb_window_t m_window;