Changeset View
Changeset View
Standalone View
Standalone View
deleted.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | public: | 47 | public: | ||
48 | static Deleted* create(Toplevel* c); | 48 | static Deleted* create(Toplevel* c); | ||
49 | // used by effects to keep the window around for e.g. fadeout effects when it's destroyed | 49 | // used by effects to keep the window around for e.g. fadeout effects when it's destroyed | ||
50 | void refWindow(); | 50 | void refWindow(); | ||
51 | void unrefWindow(); | 51 | void unrefWindow(); | ||
52 | void discard(); | 52 | void discard(); | ||
53 | virtual int desktop() const; | 53 | virtual int desktop() const; | ||
54 | virtual QStringList activities() const; | 54 | virtual QStringList activities() const; | ||
55 | virtual QList<VirtualDesktop *> desktops() const; | 55 | virtual QVector<VirtualDesktop *> desktops() const; | ||
56 | virtual QPoint clientPos() const; | 56 | virtual QPoint clientPos() const; | ||
57 | virtual QSize clientSize() const; | 57 | virtual QSize clientSize() const; | ||
58 | QPoint clientContentPos() const override { | 58 | QPoint clientContentPos() const override { | ||
59 | return m_contentPos; | 59 | return m_contentPos; | ||
60 | } | 60 | } | ||
61 | virtual QRect transparentRect() const; | 61 | virtual QRect transparentRect() const; | ||
62 | virtual bool isDeleted() const; | 62 | virtual bool isDeleted() const; | ||
63 | virtual xcb_window_t frameId() const override; | 63 | virtual xcb_window_t frameId() const override; | ||
▲ Show 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 181 | private: | |||
191 | int delete_refcount; | 191 | int delete_refcount; | ||
192 | double window_opacity; | 192 | double window_opacity; | ||
193 | int desk; | 193 | int desk; | ||
194 | QStringList activityList; | 194 | QStringList activityList; | ||
195 | QRect contentsRect; // for clientPos()/clientSize() | 195 | QRect contentsRect; // for clientPos()/clientSize() | ||
196 | QPoint m_contentPos; | 196 | QPoint m_contentPos; | ||
197 | QRect transparent_rect; | 197 | QRect transparent_rect; | ||
198 | xcb_window_t m_frame; | 198 | xcb_window_t m_frame; | ||
199 | QList <VirtualDesktop *> m_desktops; | 199 | QVector <VirtualDesktop *> m_desktops; | ||
200 | 200 | | |||
201 | bool no_border; | 201 | bool no_border; | ||
202 | QRect decoration_left; | 202 | QRect decoration_left; | ||
203 | QRect decoration_right; | 203 | QRect decoration_right; | ||
204 | QRect decoration_top; | 204 | QRect decoration_top; | ||
205 | QRect decoration_bottom; | 205 | QRect decoration_bottom; | ||
206 | Layer m_layer; | 206 | Layer m_layer; | ||
207 | bool m_minimized; | 207 | bool m_minimized; | ||
Show All 30 Lines |