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 QPoint clientPos() const; | 56 | virtual QPoint clientPos() const; | ||
56 | virtual QSize clientSize() const; | 57 | virtual QSize clientSize() const; | ||
57 | QPoint clientContentPos() const override { | 58 | QPoint clientContentPos() const override { | ||
58 | return m_contentPos; | 59 | return m_contentPos; | ||
59 | } | 60 | } | ||
60 | virtual QRect transparentRect() const; | 61 | virtual QRect transparentRect() const; | ||
61 | virtual bool isDeleted() const; | 62 | virtual bool isDeleted() const; | ||
62 | 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: | |||
190 | int delete_refcount; | 191 | int delete_refcount; | ||
191 | double window_opacity; | 192 | double window_opacity; | ||
192 | int desk; | 193 | int desk; | ||
193 | QStringList activityList; | 194 | QStringList activityList; | ||
194 | QRect contentsRect; // for clientPos()/clientSize() | 195 | QRect contentsRect; // for clientPos()/clientSize() | ||
195 | QPoint m_contentPos; | 196 | QPoint m_contentPos; | ||
196 | QRect transparent_rect; | 197 | QRect transparent_rect; | ||
197 | xcb_window_t m_frame; | 198 | xcb_window_t m_frame; | ||
199 | QList <VirtualDesktop *> m_desktops; | ||||
198 | 200 | | |||
199 | bool no_border; | 201 | bool no_border; | ||
200 | QRect decoration_left; | 202 | QRect decoration_left; | ||
201 | QRect decoration_right; | 203 | QRect decoration_right; | ||
202 | QRect decoration_top; | 204 | QRect decoration_top; | ||
203 | QRect decoration_bottom; | 205 | QRect decoration_bottom; | ||
204 | Layer m_layer; | 206 | Layer m_layer; | ||
205 | bool m_minimized; | 207 | bool m_minimized; | ||
Show All 30 Lines |