diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-25 00:27:16 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-25 00:27:16 +0100 |
| commit | df00727310b8a428a4977878cdf5597373a2ad31 (patch) | |
| tree | fa9ae3d4bf5f20c028b61de922e6a86770a75403 /src/Compositor.cpp | |
| parent | 03771d3aa9d4c0036baf830c3fa385740d43cd60 (diff) | |
deps: update wlroots
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 1163acca..e5242054 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -215,7 +215,6 @@ void CCompositor::initServer() { m_sWLRPresentation = wlr_presentation_create(m_sWLDisplay, m_sWLRBackend); - m_sWLRIdle = wlr_idle_create(m_sWLDisplay); m_sWLRIdleNotifier = wlr_idle_notifier_v1_create(m_sWLDisplay); m_sWLRLayerShell = wlr_layer_shell_v1_create(m_sWLDisplay, 4); @@ -2580,12 +2579,10 @@ CWindow* CCompositor::getForceFocus() { } void CCompositor::notifyIdleActivity() { - wlr_idle_notify_activity(g_pCompositor->m_sWLRIdle, g_pCompositor->m_sSeat.seat); wlr_idle_notifier_v1_notify_activity(g_pCompositor->m_sWLRIdleNotifier, g_pCompositor->m_sSeat.seat); } void CCompositor::setIdleActivityInhibit(bool enabled) { - wlr_idle_set_enabled(g_pCompositor->m_sWLRIdle, g_pCompositor->m_sSeat.seat, enabled); wlr_idle_notifier_v1_set_inhibited(g_pCompositor->m_sWLRIdleNotifier, !enabled); } void CCompositor::arrangeMonitors() { |
