summaryrefslogtreecommitdiff
path: root/src/managers/XWaylandManager.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-05-25 22:43:51 +0200
committerGitHub <noreply@github.com>2024-05-25 22:43:51 +0200
commitaddd3e7f1aeb670dd91d26005aaeccce3efb1ae7 (patch)
tree7eae3cf1d780ab84ff34ee0fce5ed85d9ee69c90 /src/managers/XWaylandManager.hpp
parenta71207434c0bc2c8e05e94b1619e68059a002879 (diff)
xwayland: move to hyprland impl (#6086)
Diffstat (limited to 'src/managers/XWaylandManager.hpp')
-rw-r--r--src/managers/XWaylandManager.hpp29
1 files changed, 13 insertions, 16 deletions
diff --git a/src/managers/XWaylandManager.hpp b/src/managers/XWaylandManager.hpp
index 8889eb61..5bbab802 100644
--- a/src/managers/XWaylandManager.hpp
+++ b/src/managers/XWaylandManager.hpp
@@ -11,22 +11,19 @@ class CHyprXWaylandManager {
CHyprXWaylandManager();
~CHyprXWaylandManager();
- wlr_xwayland* m_sWLRXWayland = nullptr;
-
- wlr_surface* getWindowSurface(PHLWINDOW);
- void activateSurface(wlr_surface*, bool);
- void activateWindow(PHLWINDOW, bool);
- void getGeometryForWindow(PHLWINDOW, CBox*);
- void sendCloseWindow(PHLWINDOW);
- void setWindowSize(PHLWINDOW, Vector2D, bool force = false);
- void setWindowFullscreen(PHLWINDOW, bool);
- wlr_surface* surfaceAt(PHLWINDOW, const Vector2D&, Vector2D&);
- bool shouldBeFloated(PHLWINDOW, bool pending = false);
- void moveXWaylandWindow(PHLWINDOW, const Vector2D&);
- void checkBorders(PHLWINDOW);
- Vector2D getMaxSizeForWindow(PHLWINDOW);
- Vector2D getMinSizeForWindow(PHLWINDOW);
- Vector2D xwaylandToWaylandCoords(const Vector2D&);
+ wlr_surface* getWindowSurface(PHLWINDOW);
+ void activateSurface(wlr_surface*, bool);
+ void activateWindow(PHLWINDOW, bool);
+ void getGeometryForWindow(PHLWINDOW, CBox*);
+ void sendCloseWindow(PHLWINDOW);
+ void setWindowSize(PHLWINDOW, Vector2D, bool force = false);
+ void setWindowFullscreen(PHLWINDOW, bool);
+ wlr_surface* surfaceAt(PHLWINDOW, const Vector2D&, Vector2D&);
+ bool shouldBeFloated(PHLWINDOW, bool pending = false);
+ void checkBorders(PHLWINDOW);
+ Vector2D getMaxSizeForWindow(PHLWINDOW);
+ Vector2D getMinSizeForWindow(PHLWINDOW);
+ Vector2D xwaylandToWaylandCoords(const Vector2D&);
};
inline std::unique_ptr<CHyprXWaylandManager> g_pXWaylandManager; \ No newline at end of file