Skip to content

Commit

Permalink
bugfix: guard StubSurface::initial_placement_done so that miracle can…
Browse files Browse the repository at this point in the history
… be updated in f41 (#340)
  • Loading branch information
mattkae authored Jan 15, 2025
1 parent 4f28c54 commit 21ba911
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/stub_surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@
#define MIRACLE_WM_STUB_SURFACE_H

#include <mir/scene/surface.h>
#include <mir/version.h>

namespace miracle::test
{
class StubSurface : public mir::scene::Surface
{
public:
#if MIR_SERVER_MAJOR_VERSION >= 2 && MIR_SERVER_MINOR_VERSION >= 19
void initial_placement_done() override { }
#endif

auto content_offset() const -> mir::geometry::Displacement override
{
Expand Down

0 comments on commit 21ba911

Please sign in to comment.