Go to the documentation of this file.
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");
~MythScreenSaverWayland() override
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
Base Class for screensavers.
A simple wrapper to retrieve the major Wayland objects from the Qt Wayland native interface.
MythWaylandRegistry m_registry
zwp_idle_inhibit_manager_v1 * m_manager
MythMainWindow * m_window
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)
zwp_idle_inhibitor_v1 * m_inhibitor
MythWaylandDevice * m_device
MythScreenSaverWayland(QObject *Parent, MythMainWindow *MainWindow)
static void zwp_idle_inhibit_manager_v1_destroy(struct zwp_idle_inhibit_manager_v1 *zwp_idle_inhibit_manager_v1)
static void zwp_idle_inhibitor_v1_destroy(struct zwp_idle_inhibitor_v1 *zwp_idle_inhibitor_v1)
static const struct wl_registry_listener kRegistryListener
const struct wl_interface zwp_idle_inhibit_manager_v1_interface
void WindowReady()
Signalled when MythMainWindow has completed initialisation.