xwayland: send zero scaling to xwayland if enabled
This commit is contained in:
parent
69fae18e63
commit
01f85a09a9
15 changed files with 109 additions and 11 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "../defines.hpp"
|
||||
#include "../Window.hpp"
|
||||
#include <optional>
|
||||
|
||||
class CHyprXWaylandManager {
|
||||
public:
|
||||
|
|
@ -25,6 +26,10 @@ class CHyprXWaylandManager {
|
|||
void moveXWaylandWindow(CWindow*, const Vector2D&);
|
||||
void checkBorders(CWindow*);
|
||||
Vector2D getMaxSizeForWindow(CWindow*);
|
||||
void updateXWaylandScale();
|
||||
|
||||
private:
|
||||
void setXWaylandScale(std::optional<double> scale);
|
||||
};
|
||||
|
||||
inline std::unique_ptr<CHyprXWaylandManager> g_pXWaylandManager;
|
||||
Loading…
Add table
Add a link
Reference in a new issue