29void XwlDropHandler::drop()
38 for (
auto visit : m_previousVisits) {
39 if (visit->handleClientMessage(event)) {
55 if (m_xvisit && client == m_xvisit->
target()) {
63 m_previousVisits.removeOne(visit);
66 m_previousVisits.push_back(m_xvisit);
78#include "moc_xwldrophandler.cpp"
Resource representing a wl_surface.
SurfaceInterface * surface() const
X11Window * findClient(std::function< bool(const X11Window *)> func) const
Finds the first Client matching the condition expressed by passed in func.
X11Window * target() const
bool handleClientMessage(xcb_client_message_event_t *event)
void finish(Xvisit *self)
void updateDragTarget(SurfaceInterface *surface, quint32 serial) override
bool handleClientMessage(xcb_client_message_event_t *event)
WaylandServer * waylandServer()