From f2b03e9679bc1a091fecffd98b50a4179b5c7d43 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 29 Apr 2024 17:42:07 +0100 Subject: ext-idle-notify: move to new impl --- src/Compositor.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index d1b41e1d..b8358cbe 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -237,8 +237,6 @@ void CCompositor::initServer() { m_sWLRPresentation = wlr_presentation_create(m_sWLDisplay, m_sWLRBackend); - m_sWLRIdleNotifier = wlr_idle_notifier_v1_create(m_sWLDisplay); - m_sWLRLayerShell = wlr_layer_shell_v1_create(m_sWLDisplay, 4); m_sWLRServerDecoMgr = wlr_server_decoration_manager_create(m_sWLDisplay); @@ -2701,13 +2699,6 @@ PHLWINDOW CCompositor::getForceFocus() { return nullptr; } -void CCompositor::notifyIdleActivity() { - wlr_idle_notifier_v1_notify_activity(g_pCompositor->m_sWLRIdleNotifier, g_pCompositor->m_sSeat.seat); -} - -void CCompositor::setIdleActivityInhibit(bool enabled) { - wlr_idle_notifier_v1_set_inhibited(g_pCompositor->m_sWLRIdleNotifier, !enabled); -} void CCompositor::arrangeMonitors() { static auto* const PXWLFORCESCALEZERO = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("xwayland:force_zero_scaling"); -- cgit v1.2.3