diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-12-01 11:14:35 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 17:14:35 +0000 |
| commit | 6d7544458d0fafcae410c1978a0cabce2fb4a346 (patch) | |
| tree | 77bac5cd967326e3f643cbb91fc7e7ae910d401c /src/protocols/XDGShell.hpp | |
| parent | d26439a0fe5594fb26d5a3c01571f9490a9a2d2c (diff) | |
cleanup: use doLater instead of adding idle event handlers (#8624)
Diffstat (limited to 'src/protocols/XDGShell.hpp')
| -rw-r--r-- | src/protocols/XDGShell.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocols/XDGShell.hpp b/src/protocols/XDGShell.hpp index ef847f3b..3b7d2d11 100644 --- a/src/protocols/XDGShell.hpp +++ b/src/protocols/XDGShell.hpp @@ -199,12 +199,12 @@ class CXDGSurfaceResource { void configure(); private: - SP<CXdgSurface> resource; + SP<CXdgSurface> resource; - uint32_t lastConfigureSerial = 0; - uint32_t scheduledSerial = 0; + uint32_t lastConfigureSerial = 0; + uint32_t scheduledSerial = 0; - wl_event_source* configureSource = nullptr; + bool configureScheduled = false; // std::vector<WP<CXDGPopupResource>> popups; |
