Skip to content
Snippets Groups Projects
Commit b4deec64 authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen
Browse files

xwm: fix extra break


The first break in TYPE_WM_PROTOCOLS was almost certainly intended to be
nested within the if statement.

Even if it wasn't, it makes sense there.

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 8cb25876
No related branches found
No related tags found
No related merge requests found
......@@ -459,10 +459,10 @@ weston_wm_window_read_properties(struct weston_wm_window *window)
case TYPE_WM_PROTOCOLS:
atom = xcb_get_property_value(reply);
for (i = 0; i < reply->value_len; i++)
if (atom[i] == wm->atom.wm_delete_window)
if (atom[i] == wm->atom.wm_delete_window) {
window->delete_window = 1;
break;
break;
}
break;
case TYPE_WM_NORMAL_HINTS:
memcpy(&window->size_hints,
......
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