Changeset View
Changeset View
Standalone View
Standalone View
main.h
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Line(s) | 180 | #endif | |||
---|---|---|---|---|---|
185 | Platform *platform() const { | 185 | Platform *platform() const { | ||
186 | return m_platform; | 186 | return m_platform; | ||
187 | } | 187 | } | ||
188 | 188 | | |||
189 | bool isTerminating() const { | 189 | bool isTerminating() const { | ||
190 | return m_terminating; | 190 | return m_terminating; | ||
191 | } | 191 | } | ||
192 | 192 | | |||
193 | bool updatingXTimer() { | ||||
194 | return m_updatingXTimer; | ||||
195 | } | ||||
196 | | ||||
197 | void setUpdatingXTimer(bool updating) { | ||||
198 | m_updatingXTimer = updating; | ||||
199 | } | ||||
200 | | ||||
193 | static void setupMalloc(); | 201 | static void setupMalloc(); | ||
194 | static void setupLocalizedString(); | 202 | static void setupLocalizedString(); | ||
195 | 203 | | |||
196 | static bool usesLibinput(); | 204 | static bool usesLibinput(); | ||
197 | static void setUseLibinput(bool use); | 205 | static void setUseLibinput(bool use); | ||
198 | 206 | | |||
199 | Q_SIGNALS: | 207 | Q_SIGNALS: | ||
200 | void x11ConnectionChanged(); | 208 | void x11ConnectionChanged(); | ||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 254 | private: | |||
253 | xcb_timestamp_t m_x11Time = XCB_TIME_CURRENT_TIME; | 261 | xcb_timestamp_t m_x11Time = XCB_TIME_CURRENT_TIME; | ||
254 | xcb_window_t m_rootWindow = XCB_WINDOW_NONE; | 262 | xcb_window_t m_rootWindow = XCB_WINDOW_NONE; | ||
255 | xcb_connection_t *m_connection = nullptr; | 263 | xcb_connection_t *m_connection = nullptr; | ||
256 | #ifdef KWIN_BUILD_ACTIVITIES | 264 | #ifdef KWIN_BUILD_ACTIVITIES | ||
257 | bool m_useKActivities = true; | 265 | bool m_useKActivities = true; | ||
258 | #endif | 266 | #endif | ||
259 | Platform *m_platform = nullptr; | 267 | Platform *m_platform = nullptr; | ||
260 | bool m_terminating = false; | 268 | bool m_terminating = false; | ||
269 | bool m_updatingXTimer = false; | ||||
261 | }; | 270 | }; | ||
262 | 271 | | |||
263 | inline static Application *kwinApp() | 272 | inline static Application *kwinApp() | ||
264 | { | 273 | { | ||
265 | return static_cast<Application*>(QCoreApplication::instance()); | 274 | return static_cast<Application*>(QCoreApplication::instance()); | ||
266 | } | 275 | } | ||
267 | 276 | | |||
268 | namespace Xwl | 277 | namespace Xwl | ||
Show All 23 Lines |