focusadjacenttag: for correctness should probably also update current desktop when EWMH patch is enabled

This commit is contained in:
bakkeby 2021-05-28 14:39:46 +02:00
parent 75b0c4f86b
commit a76fb54d79

View File

@ -35,6 +35,9 @@ viewtoleft(const Arg *arg)
#endif // pertagview
focus(NULL);
arrange(selmon);
#if BAR_EWMHTAGS_PATCH
updatecurrentdesktop();
#endif // BAR_EWMHTAGS_PATCH
}
}
@ -51,6 +54,9 @@ viewtoright(const Arg *arg)
#endif // pertagview
focus(NULL);
arrange(selmon);
#if BAR_EWMHTAGS_PATCH
updatecurrentdesktop();
#endif // BAR_EWMHTAGS_PATCH
}
}
@ -68,6 +74,9 @@ tagandviewtoleft(const Arg *arg)
#endif // pertagview
focus(selmon->sel);
arrange(selmon);
#if BAR_EWMHTAGS_PATCH
updatecurrentdesktop();
#endif // BAR_EWMHTAGS_PATCH
}
}
@ -85,5 +94,8 @@ tagandviewtoright(const Arg *arg)
#endif // pertagview
focus(selmon->sel);
arrange(selmon);
#if BAR_EWMHTAGS_PATCH
updatecurrentdesktop();
#endif // BAR_EWMHTAGS_PATCH
}
}