Changeset View
Changeset View
Standalone View
Standalone View
unmanaged.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
42 | virtual QVector<VirtualDesktop *> desktops() const override; | 42 | virtual QVector<VirtualDesktop *> desktops() const override; | ||
43 | virtual QPoint clientPos() const; | 43 | virtual QPoint clientPos() const; | ||
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 | 51 | | |||
51 | public Q_SLOTS: | 52 | public Q_SLOTS: | ||
52 | void release(ReleaseReason releaseReason = ReleaseReason::Release); | 53 | void release(ReleaseReason releaseReason = ReleaseReason::Release); | ||
53 | protected: | 54 | protected: | ||
54 | virtual void debug(QDebug& stream) const; | 55 | virtual void debug(QDebug& stream) const; | ||
55 | void addDamage(const QRegion &damage) override; | 56 | void addDamage(const QRegion &damage) override; | ||
56 | private: | 57 | private: | ||
57 | virtual ~Unmanaged(); // use release() | 58 | virtual ~Unmanaged(); // use release() | ||
58 | // handlers for X11 events | 59 | // handlers for X11 events | ||
59 | void configureNotifyEvent(xcb_configure_notify_event_t *e); | 60 | void configureNotifyEvent(xcb_configure_notify_event_t *e); | ||
61 | QWindow *findInternalWindow() const; | ||||
62 | bool m_outline = false; | ||||
60 | }; | 63 | }; | ||
61 | 64 | | |||
62 | } // namespace | 65 | } // namespace | ||
63 | 66 | | |||
64 | #endif | 67 | #endif |