Revert "wayland: force window->scale = 1, if BEMENU_SCALE"

This reverts commit aac7d73afc.
This commit is contained in:
Jari Vetoniemi 2024-02-02 21:04:56 +09:00
parent e77ca88c83
commit d93acb0e84

View File

@ -510,10 +510,7 @@ window_update_output(struct window *window)
window->max_height = min_max_height;
}
const char *env_scale = getenv("BEMENU_SCALE");
if (env_scale) {
window->scale = 1;
} else if (max_scale != window->scale) {
if (max_scale != window->scale) {
window->scale = max_scale;
}
}