warp cursor on login to center

This commit is contained in:
vaxerski
2023-01-28 12:26:33 +00:00
parent af37a3895f
commit 61c9e50bcd
3 changed files with 11 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ class CCompositor {
void addToFadingOutSafe(SLayerSurface*);
void addToFadingOutSafe(CWindow*);
CWindow* getWindowByRegex(const std::string&);
void warpCursorTo(const Vector2D&);
void warpCursorTo(const Vector2D&, bool force = false);
SLayerSurface* getLayerSurfaceFromWlr(wlr_layer_surface_v1*);
SLayerSurface* getLayerSurfaceFromSurface(wlr_surface*);
void closeWindow(CWindow*);