Changeset View
Changeset View
Standalone View
Standalone View
client.h
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Line(s) | 89 | public: | |||
---|---|---|---|---|---|
138 | 138 | | |||
139 | bool isMaximizable() const override; | 139 | bool isMaximizable() const override; | ||
140 | QRect geometryRestore() const override; | 140 | QRect geometryRestore() const override; | ||
141 | MaximizeMode maximizeMode() const override; | 141 | MaximizeMode maximizeMode() const override; | ||
142 | 142 | | |||
143 | bool isMinimizable() const override; | 143 | bool isMinimizable() const override; | ||
144 | QRect iconGeometry() const override; | 144 | QRect iconGeometry() const override; | ||
145 | 145 | | |||
146 | bool isFullScreenable() const override; | ||||
146 | void setFullScreen(bool set, bool user = true) override; | 147 | void setFullScreen(bool set, bool user = true) override; | ||
147 | bool isFullScreen() const override; | 148 | bool isFullScreen() const override; | ||
148 | bool userCanSetFullScreen() const override; | 149 | bool userCanSetFullScreen() const override; | ||
149 | QRect geometryFSRestore() const { | 150 | QRect geometryFSRestore() const { | ||
150 | return geom_fs_restore; // Only for session saving | 151 | return geom_fs_restore; // Only for session saving | ||
151 | } | 152 | } | ||
152 | int fullScreenMode() const { | 153 | int fullScreenMode() const { | ||
153 | return fullscreen_mode; // only for session saving | 154 | return fullscreen_mode; // only for session saving | ||
▲ Show 20 Lines • Show All 188 Lines • ▼ Show 20 Line(s) | 328 | private: | |||
342 | virtual void damageNotifyEvent(); | 343 | virtual void damageNotifyEvent(); | ||
343 | 344 | | |||
344 | bool buttonPressEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root, xcb_timestamp_t time = XCB_CURRENT_TIME); | 345 | bool buttonPressEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root, xcb_timestamp_t time = XCB_CURRENT_TIME); | ||
345 | bool buttonReleaseEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root); | 346 | bool buttonReleaseEvent(xcb_window_t w, int button, int state, int x, int y, int x_root, int y_root); | ||
346 | bool motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_root, int y_root); | 347 | bool motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_root, int y_root); | ||
347 | 348 | | |||
348 | Client* findAutogroupCandidate() const; | 349 | Client* findAutogroupCandidate() const; | ||
349 | 350 | | |||
351 | bool isFullScreenable(bool fullscreenHack) const; | ||||
352 | | ||||
350 | protected: | 353 | protected: | ||
351 | virtual void debug(QDebug& stream) const; | 354 | virtual void debug(QDebug& stream) const; | ||
352 | void addDamage(const QRegion &damage) override; | 355 | void addDamage(const QRegion &damage) override; | ||
353 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | 356 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | ||
354 | void doSetActive() override; | 357 | void doSetActive() override; | ||
355 | void doSetKeepAbove() override; | 358 | void doSetKeepAbove() override; | ||
356 | void doSetKeepBelow() override; | 359 | void doSetKeepBelow() override; | ||
357 | void doSetDesktop(int desktop, int was_desk) override; | 360 | void doSetDesktop(int desktop, int was_desk) override; | ||
▲ Show 20 Lines • Show All 344 Lines • Show Last 20 Lines |