mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-28 02:34:15 +00:00
remove unnecessary check
This commit is contained in:
parent
6d8f1a8474
commit
f4c123a963
5
dwl.c
5
dwl.c
@ -3136,11 +3136,10 @@ togglesticky(const Arg *arg)
|
|||||||
return;
|
return;
|
||||||
sel->issticky = !sel->issticky;
|
sel->issticky = !sel->issticky;
|
||||||
|
|
||||||
if (sel->issticky) {
|
if (sel->issticky)
|
||||||
client_set_border_color(sel, mixedcolor);
|
client_set_border_color(sel, mixedcolor);
|
||||||
} else {
|
else {
|
||||||
client_set_border_color(sel, focuscolor);
|
client_set_border_color(sel, focuscolor);
|
||||||
if (!VISIBLEON(sel, selmon))
|
|
||||||
focusclient(focustop(selmon, 0), 1);
|
focusclient(focustop(selmon, 0), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user