mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Add TODO about rendering fullscreen views smaller than the output
This commit is contained in:
parent
76837b9132
commit
6afccd07d9
|
@ -280,6 +280,7 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
||||||
if (workspace->sway_workspace->fullscreen) {
|
if (workspace->sway_workspace->fullscreen) {
|
||||||
float clear_color[] = {0.0f, 0.0f, 0.0f, 1.0f};
|
float clear_color[] = {0.0f, 0.0f, 0.0f, 1.0f};
|
||||||
wlr_renderer_clear(renderer, clear_color);
|
wlr_renderer_clear(renderer, clear_color);
|
||||||
|
// TODO: handle views smaller than the output
|
||||||
render_container(output, workspace->sway_workspace->fullscreen->swayc);
|
render_container(output, workspace->sway_workspace->fullscreen->swayc);
|
||||||
} else {
|
} else {
|
||||||
float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f};
|
float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f};
|
||||||
|
|
Loading…
Reference in a new issue