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: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user