You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to use functions which requires selmon to apply it but I don't know how to apply patches in it
please guide
the functions are
// Define the function to shift view
void
shiftview(const Arg *arg) {
Client *c;
unsigned int seltags;
unsigned int newtags = 0;
Hello,
I am trying to use functions which requires selmon to apply it but I don't know how to apply patches in it
please guide
the functions are
// Define the function to shift view
void
shiftview(const Arg *arg) {
Client *c;
unsigned int seltags;
unsigned int newtags = 0;
}
void
movewindowtows(const Arg *arg) {
if (!selmon->sel)
return;
int newtag = selmon->sel->tags;
if (arg->i > 0) {
newtag = newtag << arg->i;
if (newtag > (1 << (LENGTH(tags) - 1))) // Wrap around
newtag = 1;
} else {
newtag = newtag >> (-arg->i);
if (newtag < 1) // Wrap around
newtag = 1 << (LENGTH(tags) - 1);
}
selmon->sel->tags = newtag;
focus(NULL);
arrange(selmon);
}
The text was updated successfully, but these errors were encountered: