xwl: Fix unused warning in xwldrophandler.cpp
This commit is contained in:
parent
bad5752110
commit
c517e6cebd
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ bool XwlDropHandler::handleClientMessage(xcb_client_message_event_t *event)
|
|||
|
||||
void XwlDropHandler::updateDragTarget(KWaylandServer::SurfaceInterface *surface, quint32 serial)
|
||||
{
|
||||
Q_UNUSED(serial)
|
||||
auto client = workspace()->findClient([surface](const X11Client *c) {return c->surface() == surface;});
|
||||
if (m_xvisit && client == m_xvisit->target()) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue