mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-30 19:33:48 -07:00
xwayland: send zero scaling to xwayland if enabled
This commit is contained in:
@@ -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;
|
Reference in New Issue
Block a user