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: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Derek Foreman 2015-04-07 12:12:13 -05:00 committed by Pekka Paalanen
parent 8cb258766b
commit b4deec6490

View File

@ -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,