|
|
@ -219,7 +219,6 @@ struct window { |
|
|
|
struct task redraw_task; |
|
|
|
struct task redraw_task; |
|
|
|
int resize_needed; |
|
|
|
int resize_needed; |
|
|
|
int type; |
|
|
|
int type; |
|
|
|
int transparent; |
|
|
|
|
|
|
|
int focus_count; |
|
|
|
int focus_count; |
|
|
|
|
|
|
|
|
|
|
|
int resizing; |
|
|
|
int resizing; |
|
|
@ -1238,9 +1237,6 @@ window_create_surface(struct window *window) |
|
|
|
int dx = 0; |
|
|
|
int dx = 0; |
|
|
|
int dy = 0; |
|
|
|
int dy = 0; |
|
|
|
|
|
|
|
|
|
|
|
if (!window->transparent) |
|
|
|
|
|
|
|
flags |= SURFACE_OPAQUE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (window->resizing) |
|
|
|
if (window->resizing) |
|
|
|
flags |= SURFACE_HINT_RESIZE; |
|
|
|
flags |= SURFACE_HINT_RESIZE; |
|
|
|
|
|
|
|
|
|
|
@ -3612,7 +3608,6 @@ window_create_internal(struct display *display, |
|
|
|
surface->surface); |
|
|
|
surface->surface); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
window->transparent = 1; |
|
|
|
|
|
|
|
window->type = type; |
|
|
|
window->type = type; |
|
|
|
window->fullscreen_method = WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT; |
|
|
|
window->fullscreen_method = WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT; |
|
|
|
|
|
|
|
|
|
|
|