mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Initial testing on hidpi clients
This commit is contained in:
parent
0913eff915
commit
61184e3208
4 changed files with 6 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ void bar_setup(struct bar *bar, const char *socket_path, const char *bar_id) {
|
|||
|
||||
struct output_state *output = bar_output->registry->outputs->items[bar_output->idx];
|
||||
|
||||
bar_output->window = window_setup(bar_output->registry, output->width, 30, false);
|
||||
bar_output->window = window_setup(bar_output->registry, output->width * output->scale, 30 * output->scale, false);
|
||||
if (!bar_output->window) {
|
||||
sway_abort("Failed to create window.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue