cleanup: use doLater instead of adding idle event handlers (#8624)
This commit is contained in:
parent
d26439a0fe
commit
6d7544458d
5 changed files with 32 additions and 39 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue