cleanup: use doLater instead of adding idle event handlers (#8624)

This commit is contained in:
Ikalco 2024-12-01 11:14:35 -06:00 committed by GitHub
parent d26439a0fe
commit 6d7544458d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 32 additions and 39 deletions

View file

@ -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;