Changeset View
Changeset View
Standalone View
Standalone View
client.h
Show First 20 Lines • Show All 403 Lines • ▼ Show 20 Line(s) | 379 | Q_SIGNALS: | |||
---|---|---|---|---|---|
404 | void clientSideDecoratedChanged(); | 404 | void clientSideDecoratedChanged(); | ||
405 | 405 | | |||
406 | private: | 406 | private: | ||
407 | void exportMappingState(int s); // ICCCM 4.1.3.1, 4.1.4, NETWM 2.5.1 | 407 | void exportMappingState(int s); // ICCCM 4.1.3.1, 4.1.4, NETWM 2.5.1 | ||
408 | bool isManaged() const; ///< Returns false if this client is not yet managed | 408 | bool isManaged() const; ///< Returns false if this client is not yet managed | ||
409 | void updateAllowedActions(bool force = false); | 409 | void updateAllowedActions(bool force = false); | ||
410 | QRect fullscreenMonitorsArea(NETFullscreenMonitors topology) const; | 410 | QRect fullscreenMonitorsArea(NETFullscreenMonitors topology) const; | ||
411 | void changeMaximize(bool horizontal, bool vertical, bool adjust) override; | 411 | void changeMaximize(bool horizontal, bool vertical, bool adjust) override; | ||
412 | int checkFullScreenHack(const QRect& geom) const; // 0 - None, 1 - One xinerama screen, 2 - Full area | | |||
413 | void updateFullScreenHack(const QRect& geom); | | |||
414 | void getWmNormalHints(); | 412 | void getWmNormalHints(); | ||
415 | void getMotifHints(); | 413 | void getMotifHints(); | ||
416 | void getIcons(); | 414 | void getIcons(); | ||
417 | void fetchName(); | 415 | void fetchName(); | ||
418 | void fetchIconicName(); | 416 | void fetchIconicName(); | ||
419 | QString readName() const; | 417 | QString readName() const; | ||
420 | void setCaption(const QString& s, bool force = false); | 418 | void setCaption(const QString& s, bool force = false); | ||
421 | bool hasTransientInternal(const Client* c, bool indirect, ConstClientList& set) const; | 419 | bool hasTransientInternal(const Client* c, bool indirect, ConstClientList& set) const; | ||
▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | |||||
508 | Client *shade_below; | 506 | Client *shade_below; | ||
509 | uint deleting : 1; ///< True when doing cleanup and destroying the client | 507 | uint deleting : 1; ///< True when doing cleanup and destroying the client | ||
510 | Xcb::MotifHints m_motif; | 508 | Xcb::MotifHints m_motif; | ||
511 | uint hidden : 1; ///< Forcibly hidden by calling hide() | 509 | uint hidden : 1; ///< Forcibly hidden by calling hide() | ||
512 | uint noborder : 1; | 510 | uint noborder : 1; | ||
513 | uint app_noborder : 1; ///< App requested no border via window type, shape extension, etc. | 511 | uint app_noborder : 1; ///< App requested no border via window type, shape extension, etc. | ||
514 | uint ignore_focus_stealing : 1; ///< Don't apply focus stealing prevention to this client | 512 | uint ignore_focus_stealing : 1; ///< Don't apply focus stealing prevention to this client | ||
515 | bool blocks_compositing; | 513 | bool blocks_compositing; | ||
516 | // DON'T reorder - Saved to config files !!! | 514 | | ||
517 | enum FullScreenMode { | 515 | enum FullScreenMode { | ||
518 | FullScreenNone, | 516 | FullScreenNone, | ||
519 | FullScreenNormal, | 517 | FullScreenNormal | ||
520 | FullScreenHack ///< Non-NETWM fullscreen (noborder and size of desktop) | 518 | } m_fullscreenMode; | ||
521 | }; | 519 | | ||
522 | FullScreenMode m_fullscreenMode; | | |||
zzag: Unrelated change. | |||||
523 | MaximizeMode max_mode; | 520 | MaximizeMode max_mode; | ||
524 | QRect geom_restore; | 521 | QRect geom_restore; | ||
525 | QRect geom_fs_restore; | 522 | QRect geom_fs_restore; | ||
526 | QTimer* shadeHoverTimer; | 523 | QTimer* shadeHoverTimer; | ||
527 | xcb_colormap_t m_colormap; | 524 | xcb_colormap_t m_colormap; | ||
528 | QString cap_normal, cap_iconic, cap_suffix; | 525 | QString cap_normal, cap_iconic, cap_suffix; | ||
529 | Group* in_group; | 526 | Group* in_group; | ||
530 | QTimer* ping_timer; | 527 | QTimer* ping_timer; | ||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |
Unrelated change.