Some little style adjustments for badboy’s patch
This commit is contained in:
parent
40bc7c93d0
commit
bf043cd2bd
@ -909,19 +909,16 @@ void parse_command(xcb_connection_t *conn, const char *command) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
char com;
|
char com = command[1];
|
||||||
if (command[1] == 't') {
|
if (command[1] == 't') {
|
||||||
if (last_focused->titlebar_position == TITLEBAR_TOP &&
|
if (last_focused->titlebar_position == TITLEBAR_TOP &&
|
||||||
last_focused->borderless == false)
|
!last_focused->borderless)
|
||||||
com = 'p';
|
com = 'p';
|
||||||
else if (last_focused->titlebar_position == TITLEBAR_OFF &&
|
else if (last_focused->titlebar_position == TITLEBAR_OFF &&
|
||||||
last_focused->borderless == false)
|
!last_focused->borderless)
|
||||||
com = 'b';
|
com = 'b';
|
||||||
else
|
else com = 'n';
|
||||||
com = 'n';
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
com = command[1];
|
|
||||||
|
|
||||||
client_change_border(conn, last_focused, com);
|
client_change_border(conn, last_focused, com);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user