summaryrefslogtreecommitdiff
path: root/src/helpers/WLSurface.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-08-07 13:35:19 +0200
committervaxerski <vaxry@vaxry.net>2023-08-07 13:36:14 +0200
commit261c3307f70d14e5bbc7d4113b4ee6dac9e4b627 (patch)
tree4e1f5aa70bd571c4f5bc90724f2de2c7b566ddbe /src/helpers/WLSurface.hpp
parent6e53c47e68c1d15032b755270568eb5485f2c684 (diff)
internal: cleanup headers in helpers/
Diffstat (limited to 'src/helpers/WLSurface.hpp')
-rw-r--r--src/helpers/WLSurface.hpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/helpers/WLSurface.hpp b/src/helpers/WLSurface.hpp
index e3325f99..c5cdd37f 100644
--- a/src/helpers/WLSurface.hpp
+++ b/src/helpers/WLSurface.hpp
@@ -1,7 +1,6 @@
#pragma once
#include "../defines.hpp"
-
class CWLSurface {
public:
CWLSurface() = default;
@@ -11,20 +10,20 @@ class CWLSurface {
void assign(wlr_surface* pSurface);
void unassign();
- CWLSurface(const CWLSurface&) = delete;
- CWLSurface(CWLSurface&&) = delete;
+ CWLSurface(const CWLSurface&) = delete;
+ CWLSurface(CWLSurface&&) = delete;
CWLSurface& operator=(const CWLSurface&) = delete;
- CWLSurface& operator=(CWLSurface&&) = delete;
+ CWLSurface& operator=(CWLSurface&&) = delete;
wlr_surface* wlr() const;
bool exists() const;
CWLSurface& operator=(wlr_surface* pSurface) {
- destroy();
- m_pWLRSurface = pSurface;
- init();
+ destroy();
+ m_pWLRSurface = pSurface;
+ init();
- return *this;
+ return *this;
}
bool operator==(const CWLSurface& other) const {