diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-07-13 18:18:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 18:18:23 +0200 |
| commit | 6708f3b1334e8b6a966f424fe04713a4e74d5fdb (patch) | |
| tree | 3635c6d81e43ce033991fdd4b0f06083f07e86e4 /src/Compositor.hpp | |
| parent | ef7ee2fd0f64a1a0a0088b90d3cbaeb6b3436c32 (diff) | |
Fixed TTY switching (#364)
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index bc967621..3ea1711a 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -30,7 +30,9 @@ public: // ------------------ WLR BASICS ------------------ // wl_display* m_sWLDisplay; + wl_event_loop* m_sWLEventLoop; wlr_backend* m_sWLRBackend; + wlr_session* m_sWLRSession; wlr_renderer* m_sWLRRenderer; wlr_allocator* m_sWLRAllocator; wlr_compositor* m_sWLRCompositor; @@ -80,7 +82,7 @@ public: std::vector<SLayerSurface*> m_vSurfacesFadingOut; void startCompositor(); - void cleanupExit(); + void cleanup(); wlr_surface* m_pLastFocus = nullptr; CWindow* m_pLastWindow = nullptr; @@ -89,6 +91,7 @@ public: SSeat m_sSeat; bool m_bReadyToProcess = false; + bool m_bSessionActive = true; // ------------------------------------------------- // @@ -142,6 +145,7 @@ public: void setWindowFullscreen(CWindow*, bool, eFullscreenMode); void moveUnmanagedX11ToWindows(CWindow*); CWindow* getX11Parent(CWindow*); + void scheduleFrameForMonitor(SMonitor*); private: void initAllSignals(); |
