diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-28 12:26:33 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-01-28 12:26:38 +0000 |
| commit | 61c9e50bcd6c51e026203f194bc186eda3c44a38 (patch) | |
| tree | b9b7c012e2799fa80f4fc091946cee3daefb08cc /src/Compositor.hpp | |
| parent | af37a3895f810ebe3cc58600b0d9b2fcf449b2d1 (diff) | |
warp cursor on login to center
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 0d9dba67..efb8bcc7 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -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*); |
