Commit 0fbde9a2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Add a virtual destructor for XdgSurfaceConfigure

It's inherited by XdgToplevelConfigure and we need to make sure that the
object gets destroyed properly.
Alternatively we get a new-delete-type-mismatch error in ASAN and
rightfully so.
parent eef97904
...@@ -34,6 +34,8 @@ class AbstractOutput; ...@@ -34,6 +34,8 @@ class AbstractOutput;
class XdgSurfaceConfigure class XdgSurfaceConfigure
{ {
public: public:
virtual ~XdgSurfaceConfigure() {}
enum ConfigureField { enum ConfigureField {
PositionField = 0x1, PositionField = 0x1,
SizeField = 0x2, SizeField = 0x2,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment