window: remove the transparent flag as unused
This flag was always true, and never false. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
89dee00e5e
commit
61e028c953
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user