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.
This commit is contained in:
Aleix Pol 2021-05-12 16:14:31 +02:00
parent eef97904b6
commit 0fbde9a2e0

View file

@ -34,6 +34,8 @@ class AbstractOutput;
class XdgSurfaceConfigure
{
public:
virtual ~XdgSurfaceConfigure() {}
enum ConfigureField {
PositionField = 0x1,
SizeField = 0x2,