Adding shiftview patch
This commit is contained in:
@@ -105,6 +105,9 @@
|
||||
#if SHIFTVIEW_PATCH
|
||||
#include "shiftview.c"
|
||||
#endif
|
||||
#if SHIFTVIEW_CLIENTS_PATCH
|
||||
#include "shiftviewclients.c"
|
||||
#endif
|
||||
#if SORTSCREENS_PATCH
|
||||
#ifdef XINERAMA
|
||||
#include "sortscreens.c"
|
||||
|
@@ -108,6 +108,9 @@
|
||||
#if SHIFTVIEW_PATCH
|
||||
#include "shiftview.h"
|
||||
#endif
|
||||
#if SHIFTVIEW_CLIENTS_PATCH
|
||||
#include "shiftviewclients.h"
|
||||
#endif
|
||||
#if SORTSCREENS_PATCH
|
||||
#ifdef XINERAMA
|
||||
#include "sortscreens.h"
|
||||
|
@@ -3,7 +3,7 @@ shiftview(const Arg *arg)
|
||||
{
|
||||
Arg shifted;
|
||||
|
||||
if(arg->i > 0) // left circular shift
|
||||
if (arg->i > 0) // left circular shift
|
||||
shifted.ui = (selmon->tagset[selmon->seltags] << arg->i)
|
||||
| (selmon->tagset[selmon->seltags] >> (LENGTH(tags) - arg->i));
|
||||
|
||||
@@ -12,4 +12,4 @@ shiftview(const Arg *arg)
|
||||
| selmon->tagset[selmon->seltags] << (LENGTH(tags) + arg->i);
|
||||
|
||||
view(&shifted);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user