internal: use clampWindowSize to unify min/maxsize handling (#8014)
modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp
This commit is contained in:
parent
46d990f1b6
commit
a364df4c9e
3 changed files with 17 additions and 26 deletions
|
|
@ -429,6 +429,7 @@ class CWindow {
|
|||
bool onSpecialWorkspace();
|
||||
void activate(bool force = false);
|
||||
int surfacesCount();
|
||||
void clampWindowSize(const std::optional<Vector2D> minSize, const std::optional<Vector2D> maxSize);
|
||||
|
||||
bool isFullscreen();
|
||||
bool isEffectiveInternalFSMode(const eFullscreenMode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue