Changeset View
Changeset View
Standalone View
Standalone View
src/server/seat_interface_p.h
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Line(s) | 155 | struct Drag { | |||
---|---|---|---|---|---|
160 | }; | 160 | }; | ||
161 | Mode mode = Mode::None; | 161 | Mode mode = Mode::None; | ||
162 | DataDeviceInterface *source = nullptr; | 162 | DataDeviceInterface *source = nullptr; | ||
163 | DataDeviceInterface *target = nullptr; | 163 | DataDeviceInterface *target = nullptr; | ||
164 | SurfaceInterface *surface = nullptr; | 164 | SurfaceInterface *surface = nullptr; | ||
165 | PointerInterface *sourcePointer = nullptr; | 165 | PointerInterface *sourcePointer = nullptr; | ||
166 | QMatrix4x4 transformation; | 166 | QMatrix4x4 transformation; | ||
167 | QMetaObject::Connection destroyConnection; | 167 | QMetaObject::Connection destroyConnection; | ||
168 | QMetaObject::Connection dragSourceDestroyConnection; | ||||
168 | }; | 169 | }; | ||
169 | Drag drag; | 170 | Drag drag; | ||
170 | 171 | | |||
171 | static SeatInterface *get(wl_resource *native) { | 172 | static SeatInterface *get(wl_resource *native) { | ||
172 | auto s = cast(native); | 173 | auto s = cast(native); | ||
173 | return s ? s->q : nullptr; | 174 | return s ? s->q : nullptr; | ||
174 | } | 175 | } | ||
175 | 176 | | |||
Show All 25 Lines |