Changeset View
Changeset View
Standalone View
Standalone View
client.h
Show First 20 Lines • Show All 241 Lines • ▼ Show 20 Line(s) | 95 | public: | |||
---|---|---|---|---|---|
242 | 242 | | |||
243 | void updateUserTime(xcb_timestamp_t time = XCB_TIME_CURRENT_TIME); | 243 | void updateUserTime(xcb_timestamp_t time = XCB_TIME_CURRENT_TIME); | ||
244 | xcb_timestamp_t userTime() const override; | 244 | xcb_timestamp_t userTime() const override; | ||
245 | bool hasUserTimeSupport() const; | 245 | bool hasUserTimeSupport() const; | ||
246 | 246 | | |||
247 | /// Does 'delete c;' | 247 | /// Does 'delete c;' | ||
248 | static void deleteClient(Client* c); | 248 | static void deleteClient(Client* c); | ||
249 | 249 | | |||
250 | static bool belongToSameApplication(const Client* c1, const Client* c2, bool active_hack = false); | 250 | static bool belongToSameApplication(const Client* c1, const Client* c2, SameApplicationChecks checks = SameApplicationChecks()); | ||
251 | static bool sameAppWindowRoleMatch(const Client* c1, const Client* c2, bool active_hack); | 251 | static bool sameAppWindowRoleMatch(const Client* c1, const Client* c2, bool active_hack); | ||
252 | 252 | | |||
253 | void killWindow() override; | 253 | void killWindow() override; | ||
254 | void toggleShade(); | 254 | void toggleShade(); | ||
255 | void showContextHelp() override; | 255 | void showContextHelp() override; | ||
256 | void cancelShadeHoverTimer(); | 256 | void cancelShadeHoverTimer(); | ||
257 | void checkActiveModal(); | 257 | void checkActiveModal(); | ||
258 | StrutRect strutRect(StrutArea area) const; | 258 | StrutRect strutRect(StrutArea area) const; | ||
▲ Show 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 354 | private: | |||
372 | bool buttonReleaseEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root); | 372 | bool buttonReleaseEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root); | ||
373 | bool motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_root, int y_root); | 373 | bool motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_root, int y_root); | ||
374 | 374 | | |||
375 | Client* findAutogroupCandidate() const; | 375 | Client* findAutogroupCandidate() const; | ||
376 | 376 | | |||
377 | protected: | 377 | protected: | ||
378 | virtual void debug(QDebug& stream) const; | 378 | virtual void debug(QDebug& stream) const; | ||
379 | void addDamage(const QRegion &damage) override; | 379 | void addDamage(const QRegion &damage) override; | ||
380 | bool belongsToSameApplication(const AbstractClient *other, bool active_hack) const override; | 380 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | ||
381 | void doSetActive() override; | 381 | void doSetActive() override; | ||
382 | void doSetKeepAbove() override; | 382 | void doSetKeepAbove() override; | ||
383 | void doSetKeepBelow() override; | 383 | void doSetKeepBelow() override; | ||
384 | void doSetDesktop(int desktop, int was_desk) override; | 384 | void doSetDesktop(int desktop, int was_desk) override; | ||
385 | void doMinimize() override; | 385 | void doMinimize() override; | ||
386 | void doSetSkipPager() override; | 386 | void doSetSkipPager() override; | ||
387 | void doSetSkipTaskbar() override; | 387 | void doSetSkipTaskbar() override; | ||
388 | bool belongsToDesktop() const override; | 388 | bool belongsToDesktop() const override; | ||
▲ Show 20 Lines • Show All 373 Lines • Show Last 20 Lines |