Skip to content
Snippets Groups Projects
Commit c00aba68 authored by Derek Foreman's avatar Derek Foreman
Browse files

xwayland: Fix copy and paste error


This leg of the if/else ladder is a duplicate of the previous conditional.

It appears to have been intended to log enter events, but we already
handle those earlier. The drop event is already logged as well,
so let's just discard this branch entirely.

Fixes #552

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 3208ee42
Branches main
No related tags found
No related merge requests found
......@@ -208,9 +208,6 @@ weston_wm_handle_dnd_event(struct weston_wm *wm,
} else if (client_message->type == wm->atom.xdnd_drop) {
weston_log("got drop!\n");
return 1;
} else if (client_message->type == wm->atom.xdnd_drop) {
weston_log("got enter!\n");
return 1;
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment