diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:42:07 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:50:07 +0100 |
| commit | f2b03e9679bc1a091fecffd98b50a4179b5c7d43 (patch) | |
| tree | c86033d3436b0354db17e9209633ac7a6594631f /src/Compositor.cpp | |
| parent | 86133983a94a6ad52933e0577b6098dd8e98ed8c (diff) | |
ext-idle-notify: move to new impl
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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"); |
