diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-04-20 08:12:03 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-04-20 08:12:03 +1000 |
commit | 6afccd07d95582a72e36b49454266ab0cebec7c0 (patch) | |
tree | 1735e7c33fe5547acfaa56b893fc0b450c0d9483 /sway | |
parent | Ignore xdg_shell_v6 request_fullscreen if not mapped (diff) | |
download | sway-6afccd07d95582a72e36b49454266ab0cebec7c0.tar.gz sway-6afccd07d95582a72e36b49454266ab0cebec7c0.tar.zst sway-6afccd07d95582a72e36b49454266ab0cebec7c0.zip |
Add TODO about rendering fullscreen views smaller than the output
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 4a1b0c84..8d25caae 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -280,6 +280,7 @@ static void render_output(struct sway_output *output, struct timespec *when, | |||
280 | if (workspace->sway_workspace->fullscreen) { | 280 | if (workspace->sway_workspace->fullscreen) { |
281 | float clear_color[] = {0.0f, 0.0f, 0.0f, 1.0f}; | 281 | float clear_color[] = {0.0f, 0.0f, 0.0f, 1.0f}; |
282 | wlr_renderer_clear(renderer, clear_color); | 282 | wlr_renderer_clear(renderer, clear_color); |
283 | // TODO: handle views smaller than the output | ||
283 | render_container(output, workspace->sway_workspace->fullscreen->swayc); | 284 | render_container(output, workspace->sway_workspace->fullscreen->swayc); |
284 | } else { | 285 | } else { |
285 | float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f}; | 286 | float clear_color[] = {0.25f, 0.25f, 0.25f, 1.0f}; |