We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44343bf commit 51b8f80Copy full SHA for 51b8f80
hyprexpo/ExpoGesture.cpp
@@ -2,10 +2,16 @@
2
3
#include "overview.hpp"
4
5
+#include <hyprland/src/Compositor.hpp>
6
+#include <hyprland/src/helpers/Monitor.hpp>
7
+
8
void CExpoGesture::begin(const ITrackpadGesture::STrackpadGestureBegin& e) {
9
ITrackpadGesture::begin(e);
10
11
m_lastDelta = 0.F;
12
13
+ if (!g_pOverview)
14
+ g_pOverview = std::make_unique<COverview>(g_pCompositor->m_lastMonitor->m_activeWorkspace);
15
}
16
17
void CExpoGesture::update(const ITrackpadGesture::STrackpadGestureUpdate& e) {
0 commit comments