diff options
author | okan <okan> | 2022-02-27 14:59:55 +0000 |
---|---|---|
committer | okan <okan> | 2022-02-27 14:59:55 +0000 |
commit | 7af3a7b8b6966d7c3b0a2fb2fcdb6be314bfd7c1 (patch) | |
tree | 5db3a53e3b439857a4646ded170d999850a1a7ea /group.c | |
parent | 35b0da9202fbfd83662a0649313b5c4b8cb97f5e (diff) | |
parent | 4e73ce533c98c54a83fa24c71105bbb1b40a0803 (diff) | |
download | cwm-7af3a7b8b6966d7c3b0a2fb2fcdb6be314bfd7c1.tar.gz cwm-7af3a7b8b6966d7c3b0a2fb2fcdb6be314bfd7c1.tar.xz cwm-7af3a7b8b6966d7c3b0a2fb2fcdb6be314bfd7c1.zip |
cvsimport
* refs/heads/master: cycling fix: when no client is active, warp pointer to last active; from Walter Alejandro Iglesias. whitespace Fix spelling of some unused MWM hints; from Sean C. Farley. Add group-last command that shows only the previously active group; ok okan Allow bare numbers for key and mouse bindings; taken from similar support in other parse.y's; from Leon Fischer <lfischer@airmail.cc>. sync parse.y changes from base; ok naddy@ Do not attempt to grab keys without a keycode; this incidentally allows XF86 keys support.
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/group.c b/group.c index 59eae73..af4c759 100644 --- a/group.c +++ b/group.c @@ -215,6 +215,9 @@ group_only(struct screen_ctx *sc, int idx) { struct group_ctx *gc; + if (sc->group_last != sc->group_active) + sc->group_last = sc->group_active; + TAILQ_FOREACH(gc, &sc->groupq, entry) { if (gc->num == idx) group_show(gc); |