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 52 Lines • ▼ Show 20 Line(s) | 112 | private: | |||
115 | int delete_refcount; | 116 | int delete_refcount; | ||
116 | double window_opacity; | 117 | double window_opacity; | ||
117 | int desk; | 118 | int desk; | ||
118 | QStringList activityList; | 119 | QStringList activityList; | ||
119 | QRect contentsRect; // for clientPos()/clientSize() | 120 | QRect contentsRect; // for clientPos()/clientSize() | ||
120 | QPoint m_contentPos; | 121 | QPoint m_contentPos; | ||
121 | QRect transparent_rect; | 122 | QRect transparent_rect; | ||
122 | xcb_window_t m_frame; | 123 | xcb_window_t m_frame; | ||
124 | QList <VirtualDesktop *> m_desktops; | ||||
123 | 125 | | |||
124 | bool no_border; | 126 | bool no_border; | ||
125 | QRect decoration_left; | 127 | QRect decoration_left; | ||
126 | QRect decoration_right; | 128 | QRect decoration_right; | ||
127 | QRect decoration_top; | 129 | QRect decoration_top; | ||
128 | QRect decoration_bottom; | 130 | QRect decoration_bottom; | ||
129 | Layer m_layer; | 131 | Layer m_layer; | ||
130 | bool m_minimized; | 132 | bool m_minimized; | ||
Show All 24 Lines |