diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-07-27 17:49:27 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-07-27 17:49:35 +0200 |
| commit | 729b47d46d0c749efbffe01ea863a124fad562b4 (patch) | |
| tree | f2abe24cb709c3d97d809aa8e7f97a9bad20c332 /src/protocols/core | |
| parent | 84227eb587688596b63a5b48848d32083d9680cf (diff) | |
input: refocus last window on keyboard unfocusable surfaces
fixes #4460
Diffstat (limited to 'src/protocols/core')
| -rw-r--r-- | src/protocols/core/Compositor.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocols/core/Compositor.hpp b/src/protocols/core/Compositor.hpp index 85bd0d37..1fa6926a 100644 --- a/src/protocols/core/Compositor.hpp +++ b/src/protocols/core/Compositor.hpp @@ -134,11 +134,11 @@ class CWLSurfaceResource { SP<CWlSurface> resource; wl_client* pClient = nullptr; - int stateLocks = 0; + int stateLocks = 0; - void destroy(); - void commitPendingState(); - void bfHelper(std::vector<SP<CWLSurfaceResource>> nodes, std::function<void(SP<CWLSurfaceResource>, const Vector2D&, void*)> fn, void* data); + void destroy(); + void commitPendingState(); + void bfHelper(std::vector<SP<CWLSurfaceResource>> nodes, std::function<void(SP<CWLSurfaceResource>, const Vector2D&, void*)> fn, void* data); }; class CWLCompositorResource { |
