From 61e028c953d25722b83e13d37f5c6b30593750aa Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 13 Feb 2013 16:17:21 +0200 Subject: [PATCH] window: remove the transparent flag as unused This flag was always true, and never false. Signed-off-by: Pekka Paalanen --- clients/window.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clients/window.c b/clients/window.c index 05f7ed87..6466491d 100644 --- a/clients/window.c +++ b/clients/window.c @@ -219,7 +219,6 @@ struct window { struct task redraw_task; int resize_needed; int type; - int transparent; int focus_count; int resizing; @@ -1238,9 +1237,6 @@ window_create_surface(struct window *window) int dx = 0; int dy = 0; - if (!window->transparent) - flags |= SURFACE_OPAQUE; - if (window->resizing) flags |= SURFACE_HINT_RESIZE; @@ -3612,7 +3608,6 @@ window_create_internal(struct display *display, surface->surface); } - window->transparent = 1; window->type = type; window->fullscreen_method = WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT;