diff options
Diffstat (limited to 'src/protocols/Tablet.hpp')
-rw-r--r-- | src/protocols/Tablet.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/protocols/Tablet.hpp b/src/protocols/Tablet.hpp index 1ebcb1e5..8c99bee0 100644 --- a/src/protocols/Tablet.hpp +++ b/src/protocols/Tablet.hpp @@ -112,21 +112,20 @@ class CTabletV2Resource { class CTabletToolV2Resource { public: CTabletToolV2Resource(SP<CZwpTabletToolV2> resource_, SP<CTabletTool> tool_, SP<CTabletSeat> seat_); - ~CTabletToolV2Resource(); bool good(); void sendData(); void queueFrame(); - void sendFrame(bool removeSource = true); + void sendFrame(); bool current = false; WP<CWLSurfaceResource> lastSurf; WP<CTabletTool> tool; WP<CTabletSeat> seat; - wl_event_source* frameSource = nullptr; - bool inert = false; // removed was sent + bool frameQueued = false; + bool inert = false; // removed was sent private: SP<CZwpTabletToolV2> resource; |