wayland: initialize window scale to -1

This commit is contained in:
Daniel Eklöf 2023-06-26 17:31:39 +02:00
parent e5989d81b9
commit 36818459e5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1550,6 +1550,7 @@ wayl_win_init(struct terminal *term, const char *token)
win->csd_mode = CSD_UNKNOWN;
win->csd.move_timeout_fd = -1;
win->resize_timeout_fd = -1;
win->scale = -1.;
win->wm_capabilities.maximize = true;
win->wm_capabilities.minimize = true;