Commit 39d7e99a authored by Pekka Paalanen's avatar Pekka Paalanen

xwm: delete dead flags from weston_wm_window_draw_decorations()

Obviously unused. Looks like weston_wm_window_activate() is doing that
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
Reviewed-by: Quentin Glidic's avatarQuentin Glidic <>
parent 474dbcaf
......@@ -1121,7 +1121,6 @@ weston_wm_window_draw_decoration(void *data)
int32_t input_x, input_y, input_w, input_h;
const struct weston_desktop_xwayland_interface *xwayland_interface =
uint32_t flags = 0;
wm_log("XWM: start draw decoration, win %d\n", window->id);
......@@ -1138,9 +1137,6 @@ weston_wm_window_draw_decoration(void *data)
if (window->fullscreen) {
/* nothing */
} else if (window->decorate) {
if (wm->focus_window == window)
frame_set_title(window->frame, window->name);
frame_repaint(window->frame, cr);
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment