Obey WM_SIZE_HINTS's resize increments in floating
This commit is contained in:
committed by
Michael Stapelberg
parent
b0e2be9a6b
commit
e92dd1acc6
@ -173,6 +173,7 @@ void scratchpad_show(Con *con) {
|
||||
Con *output = con_get_output(con);
|
||||
con->rect.width = output->rect.width * 0.5;
|
||||
con->rect.height = output->rect.height * 0.75;
|
||||
floating_check_size(con);
|
||||
con->rect.x = output->rect.x +
|
||||
((output->rect.width / 2.0) - (con->rect.width / 2.0));
|
||||
con->rect.y = output->rect.y +
|
||||
|
Reference in New Issue
Block a user