mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Merge 9e7064917d into a0b5953aa8
This commit is contained in:
commit
e0459a5884
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ int main(int argc, char **argv) {
|
||||||
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
|
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
|
||||||
list_add(surfaces, window);
|
list_add(surfaces, window);
|
||||||
|
|
||||||
char *scaling_mode = argv[3];
|
/* char *scaling_mode = argv[3]; */
|
||||||
cairo_surface_t *image = cairo_image_surface_create_from_png(argv[2]);
|
cairo_surface_t *image = cairo_image_surface_create_from_png(argv[2]);
|
||||||
double width = cairo_image_surface_get_width(image);
|
double width = cairo_image_surface_get_width(image);
|
||||||
double height = cairo_image_surface_get_height(image);
|
double height = cairo_image_surface_get_height(image);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue