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:
parent
8cb258766b
commit
b4deec6490
@ -459,10 +459,10 @@ weston_wm_window_read_properties(struct weston_wm_window *window)
|
|||||||
case TYPE_WM_PROTOCOLS:
|
case TYPE_WM_PROTOCOLS:
|
||||||
atom = xcb_get_property_value(reply);
|
atom = xcb_get_property_value(reply);
|
||||||
for (i = 0; i < reply->value_len; i++)
|
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;
|
window->delete_window = 1;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case TYPE_WM_NORMAL_HINTS:
|
case TYPE_WM_NORMAL_HINTS:
|
||||||
memcpy(&window->size_hints,
|
memcpy(&window->size_hints,
|
||||||
|
Loading…
Reference in New Issue
Block a user