Changeset View
Changeset View
Standalone View
Standalone View
unmanaged.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
44 | virtual QSize clientSize() const; | 44 | virtual QSize clientSize() const; | ||
45 | virtual QRect transparentRect() const; | 45 | virtual QRect transparentRect() const; | ||
46 | virtual Layer layer() const { | 46 | virtual Layer layer() const { | ||
47 | return UnmanagedLayer; | 47 | return UnmanagedLayer; | ||
48 | } | 48 | } | ||
49 | NET::WindowType windowType(bool direct = false, int supported_types = 0) const; | 49 | NET::WindowType windowType(bool direct = false, int supported_types = 0) const; | ||
50 | bool isOutline() const override; | 50 | bool isOutline() const override; | ||
51 | 51 | | |||
52 | bool setupCompositing() override; | ||||
53 | | ||||
52 | public Q_SLOTS: | 54 | public Q_SLOTS: | ||
53 | void release(ReleaseReason releaseReason = ReleaseReason::Release); | 55 | void release(ReleaseReason releaseReason = ReleaseReason::Release); | ||
54 | protected: | 56 | protected: | ||
55 | virtual void debug(QDebug& stream) const; | 57 | virtual void debug(QDebug& stream) const; | ||
56 | void addDamage(const QRegion &damage) override; | 58 | void addDamage(const QRegion &damage) override; | ||
57 | private: | 59 | private: | ||
58 | virtual ~Unmanaged(); // use release() | 60 | virtual ~Unmanaged(); // use release() | ||
59 | // handlers for X11 events | 61 | // handlers for X11 events | ||
60 | void configureNotifyEvent(xcb_configure_notify_event_t *e); | 62 | void configureNotifyEvent(xcb_configure_notify_event_t *e); | ||
61 | QWindow *findInternalWindow() const; | 63 | QWindow *findInternalWindow() const; | ||
62 | bool m_outline = false; | 64 | bool m_outline = false; | ||
63 | }; | 65 | }; | ||
64 | 66 | | |||
65 | } // namespace | 67 | } // namespace | ||
66 | 68 | | |||
67 | #endif | 69 | #endif |