diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-12-19 16:33:40 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-01-17 16:35:35 +0200 |
commit | 39d7e99a461dc43385381d465891bdcfbb67be5c (patch) | |
tree | 62a4536b24d33b590e586e58ba9214cc657aff06 /xwayland | |
parent | 474dbcaf8fd8bd02dd17bc31313b6f32e001447e (diff) | |
download | weston-39d7e99a461dc43385381d465891bdcfbb67be5c.tar.gz |
xwm: delete dead flags from weston_wm_window_draw_decorations()
Obviously unused. Looks like weston_wm_window_activate() is doing that
job.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/window-manager.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 843a81c4..1dd8083f 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -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 = wm->server->compositor->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) - flags |= THEME_FRAME_ACTIVE; - frame_set_title(window->frame, window->name); frame_repaint(window->frame, cr); } else { |