Hyprland/src/protocols/types
Tom Englund fa022901cf
surface: add virtual destructor to surfacerole to avoid undefined behaviour (#6620)
* surfacerole: add virtual destructor

all classes that will be derived from should have a virtual destructor
otherwise deleting an instance via pointer to a base class is undefined
behaviour, layershell/xdgshell hits this with std::default_delete in the
new sharedptr implentation.

* includes: fix missing includes

fix missing includes for no precompiled headers builds, and remove a
redefiniton of a macro already defined in macros.hpp
2024-06-22 00:40:45 +02:00
..
Buffer.cpp wayland/core: move to new impl (#6268) 2024-06-08 10:07:59 +02:00
Buffer.hpp buffer: track asynchronous buffers and don't release them until unref 2024-06-08 17:27:56 +02:00
DataDevice.cpp xwayland: move to hyprland impl (#6086) 2024-05-25 22:43:51 +02:00
DataDevice.hpp xwayland: move to hyprland impl (#6086) 2024-05-25 22:43:51 +02:00
DMABuffer.cpp misc: a few compiler level performance optimisations (#6559) 2024-06-17 17:37:36 +02:00
DMABuffer.hpp misc: a few compiler level performance optimisations (#6559) 2024-06-17 17:37:36 +02:00
SurfaceRole.hpp surface: add virtual destructor to surfacerole to avoid undefined behaviour (#6620) 2024-06-22 00:40:45 +02:00
WLBuffer.cpp wayland/core: move to new impl (#6268) 2024-06-08 10:07:59 +02:00
WLBuffer.hpp wayland/core: move to new impl (#6268) 2024-06-08 10:07:59 +02:00