xaizek / euclid-wm (License: BSD 3-Clause) (since 2018-12-07)
A minimalist, tiling window manager for X11 that seeks to allow easy management of numerous windows entirely from the keyboard.
Commit 753fd6e1daa403fcae198b61adeedb47c0018e90

do not allow going to a view that is already displayed
Author: wmdiem
Author date (UTC): 2010-08-01 17:05
Committer name: wmdiem
Committer date (UTC): 2010-08-01 17:05
Parent(s): 0704e1f51c27c1dfedcffab787fafd234e5e606e
Signing key:
Tree: 49468548fe901106ddb343008a55ad691bcd3509
File Lines added Lines deleted
euclid-wm.c 7 1
File euclid-wm.c changed (mode: 100644) (index bda8e0e..ff1afc1)
... ... void addscreen(short h, short w, short x, short y, short n) {
690 690 cs = new; cs = new;
691 691 new->v = make_view(); new->v = make_view();
692 692 new->v->idx = 1; new->v->idx = 1;
693 fv = new->v;
693 694 } else { } else {
694 695 struct screen *s = firstscreen; struct screen *s = firstscreen;
695 696 while (s->next != NULL) { while (s->next != NULL) {
 
... ... void goto_view(struct view *v) {
1445 1446 //sets cs->v //sets cs->v
1446 1447 //and maps the windows of the new cs->v //and maps the windows of the new cs->v
1447 1448 //it also deletes empty views //it also deletes empty views
1448 if (v == NULL || v == cs->v) {return;};
1449 if (v == NULL) {return;};
1450 struct screen *s = firstscreen;
1451 while (s != NULL) {
1452 if (s->v == v) {return;};
1453 s = s->next;
1454 };
1449 1455 struct track *t = cs->v->ft; struct track *t = cs->v->ft;
1450 1456 struct cont *c; struct cont *c;
1451 1457 while (t != NULL) { while (t != NULL) {
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/euclid-wm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/euclid-wm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master