mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
Compare commits
3 Commits
14bc3ad2e1
...
1f87e9636e
Author | SHA1 | Date | |
---|---|---|---|
|
1f87e9636e | ||
|
4cfcb3643b | ||
|
a3945223a4 |
@ -234,6 +234,7 @@ static void handle_unlock(struct wl_listener *listener, void *data) {
|
||||
struct sway_output *output = root->outputs->items[i];
|
||||
arrange_layers(output);
|
||||
}
|
||||
cursor_rebase_all();
|
||||
}
|
||||
|
||||
static void handle_abandon(struct wl_listener *listener, void *data) {
|
||||
|
@ -349,7 +349,7 @@ void container_arrange_title_bar(struct sway_container *con) {
|
||||
h_padding = width - config->titlebar_h_padding - marks_buffer_width;
|
||||
}
|
||||
|
||||
h_padding = MAX(h_padding, 0);
|
||||
h_padding = MAX(h_padding, config->titlebar_h_padding);
|
||||
|
||||
int alloc_width = MIN((int)node->width,
|
||||
width - h_padding - config->titlebar_h_padding);
|
||||
@ -375,7 +375,7 @@ void container_arrange_title_bar(struct sway_container *con) {
|
||||
h_padding = config->titlebar_h_padding;
|
||||
}
|
||||
|
||||
h_padding = MAX(h_padding, 0);
|
||||
h_padding = MAX(h_padding, config->titlebar_h_padding);
|
||||
|
||||
int alloc_width = MIN((int) node->width,
|
||||
width - h_padding - config->titlebar_h_padding);
|
||||
|
Loading…
Reference in New Issue
Block a user