11 #include "Connection.h"    12 #include "ShellSurface.h"    14 #include <wayland-extra-protocols.hpp>    40   CShellSurfaceXdgShell(
IShellSurfaceHandler& handler, wayland::display_t& display, wayland::xdg_wm_base_t 
const& shell, wayland::surface_t 
const& surface, std::string 
const& title, std::string 
const& class_);
    47   void SetFullScreen(wayland::output_t 
const& output, 
float refreshRate) 
override;
    48   void SetWindowed() 
override;
    49   void SetMaximized() 
override;
    50   void UnsetMaximized() 
override;
    51   void SetMinimized() 
override;
    52   void SetWindowGeometry(
CRectInt geometry) 
override;
    53   void AckConfigure(std::uint32_t serial) 
override;
    55   void StartMove(
const wayland::seat_t& seat, std::uint32_t serial) 
override;
    56   void StartResize(
const wayland::seat_t& seat, std::uint32_t serial, wayland::shell_surface_resize edge) 
override;
    57   void ShowShellContextMenu(
const wayland::seat_t& seat, std::uint32_t serial, 
CPointInt position) 
override;
    61   wayland::display_t& m_display;
    62   wayland::xdg_wm_base_t m_shell;
    63   wayland::surface_t m_surface;
    64   wayland::xdg_surface_t m_xdgSurface;
    65   wayland::xdg_toplevel_t m_xdgToplevel;
    68   StateBitset m_configuredState;
 
void Initialize() override
Initialize shell surface. 
Definition: ShellSurfaceXdgShell.cpp:85
Definition: ShellSurface.h:81
Connection to Wayland compositor. 
Definition: Connection.h:25
Definition: AudioDecoder.h:18
Abstraction for shell surfaces to support multiple protocols such as wl_shell (for compatibility) and...
Definition: ShellSurface.h:34
Shell surface implementation for stable xdg_shell. 
Definition: ShellSurfaceXdgShell.h:26
CShellSurfaceXdgShell(IShellSurfaceHandler &handler, wayland::display_t &display, wayland::xdg_wm_base_t const &shell, wayland::surface_t const &surface, std::string const &title, std::string const &class_)
Construct xdg_shell toplevel object for given surface. 
Definition: ShellSurfaceXdgShell.cpp:55