11 #include "Connection.h" 12 #include "ShellSurface.h" 36 wayland::surface_t
const& surface,
37 const std::string& title,
38 const std::string& class_);
42 void SetFullScreen(wayland::output_t
const& output,
float refreshRate)
override;
43 void SetWindowed()
override;
44 void SetMaximized()
override;
45 void UnsetMaximized()
override;
46 void SetMinimized()
override;
47 void SetWindowGeometry(
CRectInt geometry)
override;
48 void AckConfigure(std::uint32_t serial)
override;
50 void StartMove(
const wayland::seat_t& seat, std::uint32_t serial)
override;
51 void StartResize(
const wayland::seat_t& seat, std::uint32_t serial, wayland::shell_surface_resize edge)
override;
52 void ShowShellContextMenu(
const wayland::seat_t& seat, std::uint32_t serial,
CPointInt position)
override;
56 wayland::shell_t m_shell;
57 wayland::shell_surface_t m_shellSurface;
58 StateBitset m_surfaceState;
Definition: ShellSurface.h:81
Connection to Wayland compositor.
Definition: Connection.h:25
CShellSurfaceWlShell(IShellSurfaceHandler &handler, CConnection &connection, wayland::surface_t const &surface, const std::string &title, const std::string &class_)
Construct wl_shell_surface for given surface.
Definition: ShellSurfaceWlShell.cpp:18
Definition: AudioDecoder.h:18
Abstraction for shell surfaces to support multiple protocols such as wl_shell (for compatibility) and...
Definition: ShellSurface.h:34
Definition: ShellSurfaceWlShell.h:21
void Initialize() override
Initialize shell surface.
Definition: ShellSurfaceWlShell.cpp:51