9#define LOC QString("ScreenSaverWayland: ")
57 LOG(VB_GENERAL, LOG_INFO,
LOC +
"Ready");
59 LOG(VB_GENERAL, LOG_WARNING,
LOC +
"Setup failed (no compositor support?)");
67 LOG(VB_GENERAL, LOG_INFO,
LOC +
"Screensaver inhibited");
75 LOG(VB_GENERAL, LOG_INFO,
LOC +
"Uninhibited screensaver");
zwp_idle_inhibit_manager_v1 * m_manager
MythMainWindow * m_window
zwp_idle_inhibitor_v1 * m_inhibitor
MythWaylandDevice * m_device
void WindowReady()
Signalled when MythMainWindow has completed initialisation.
MythScreenSaverWayland(QObject *Parent, MythMainWindow *MainWindow)
MythWaylandRegistry m_registry
~MythScreenSaverWayland() override
Base Class for screensavers.
A simple wrapper to retrieve the major Wayland objects from the Qt Wayland native interface.
static struct zwp_idle_inhibitor_v1 * zwp_idle_inhibit_manager_v1_create_inhibitor(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1, struct wl_surface *surface)
Create a new inhibitor object associated with the given surface.
static void zwp_idle_inhibit_manager_v1_destroy(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1)
Destroy the inhibit manager.
static void zwp_idle_inhibitor_v1_destroy(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1)
Remove the inhibitor effect from the associated wl_surface.
const struct wl_interface zwp_idle_inhibit_manager_v1_interface
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
static const struct wl_registry_listener kRegistryListener