summary refs log tree commit diff stats
path: root/doc/pydoc
(sel->prev))) { for(c = clients; c && c->next; c = c->next); c = getprev(c); } if(c) { focus(c); restack(); }}Boolisvisible(Client *c){ unsigned int i; for(i = 0; i < ntags; i++) if(c->tags[i] && seltag[i]) return True; return False;}voidrestack(){ static unsigned int nwins = 0; static Window *wins = NULL; unsigned int f, fi, m, mi, n; Client *c; XEvent ev; for(f = 0, m = 0, c = clients; c; c = c->next) if(isvisible(c)) { if(c->isfloat || arrange == dofloat) f++; else m++; } if(!(n = 2 * (f + m))) { drawstatus(); return; } if(nwins < n) { nwins = n; wins = erealloc(wins, nwins * sizeof(Window)); } fi = 0; mi = 2 * f; if(sel->isfloat || arrange == dofloat) { wins[fi++] = sel->twin; wins[fi++] = sel->win; } else { wins[mi++] = sel->twin; wins[mi++] = sel->win; } for(c = clients; c; c = c->next) if(isvisible(c) && c != sel) { if(c->isfloat || arrange == dofloat) { wins[fi++] = c->twin; wins[fi++] = c->win; } else { wins[mi++] = c->twin; wins[mi++] = c->win; } } XRestackWindows(dpy, wins, n); drawall(); XSync(dpy, False); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));}voidtogglemode(Arg *arg){ arrange = (arrange == dofloat) ? dotile : dofloat; if(sel) arrange(NULL); else drawstatus();}voidtoggleview(Arg *arg){ unsigned int i; seltag[arg->i] = !seltag[arg->i]; for(i = 0; i < ntags && !seltag[i]; i++); if(i == ntags) seltag[arg->i] = True; /* cannot toggle last view */ reorder(); arrange(NULL);}voidview(Arg *arg){ unsigned int i; for(i = 0; i < ntags; i++) seltag[i] = False; seltag[arg->i] = True; reorder(); arrange(NULL);}voidviewall(Arg *arg){ unsigned int i; for(i = 0; i < ntags; i++) seltag[i] = True; reorder(); arrange(NULL);}voidzoom(Arg *arg){ Client *c = sel; if(!c || (arrange != dotile) || c->isfloat || maximized) return; if(c == getnext(clients)) if(!(c = getnext(c->next))) return; detach(c); c->next = clients; clients->prev = c; clients = c; focus(c); arrange(NULL);}
ModeNameSize
-rw-r--r--all_tests.html829log stats plain blame
-rw-r--r--curses.ascii.html4204log stats plain blame
-rw-r--r--curses.html16152log stats plain blame
-rw-r--r--make_doc.html1642log stats plain blame
-rw-r--r--os.html68864log stats plain blame
-rw-r--r--os.path.html9619log stats plain blame
-rw-r--r--ranger.__main__.html3364log stats plain blame
-rw-r--r--ranger.actions.html13879log stats plain blame
-rw-r--r--ranger.applications.html13243log stats plain blame
-rw-r--r--ranger.colorschemes.default.html6634log stats plain blame
-rw-r--r--ranger.colorschemes.html2125log stats plain blame
-rw-r--r--ranger.colorschemes.jungle.html6628log stats plain blame
-rw-r--r--ranger.colorschemes.snow.html6583log stats plain blame
-rw-r--r--ranger.commands.html29441log stats plain blame
-rw-r--r--ranger.container.bookmarks.html8598log stats plain blame
-rw-r--r--ranger.container.commandlist.html12655log stats plain blame
-rw-r--r--ranger.container.environment.html7611log stats plain blame
-rw-r--r--ranger.container.history.html9035log stats plain blame
-rw-r--r--ranger.container.html1856log stats plain blame
-rw-r--r--ranger.container.keybuffer.html5782log stats plain blame
-rw-r--r--ranger.container.tags.html4232log stats plain blame
-rw-r--r--ranger.defaults.apps.html7222log stats plain blame
-rw-r--r--ranger.defaults.html1584log stats plain blame
-rw-r--r--ranger.defaults.keys.html18878log stats plain blame
-rw-r--r--ranger.defaults.options.html3921log stats plain blame
-rw-r--r--ranger.ext.accumulator.html4707log stats plain blame
-rw-r--r--ranger.ext.command_parser.html4468log stats plain blame
-rw-r--r--ranger.ext.debug.html3344log stats plain blame
-rw-r--r--ranger.ext.get_all_modules.html2918log stats plain blame
-rw-r--r--ranger.ext.html2172log stats plain blame
-rw-r--r--ranger.ext.human_readable.html3235log stats plain blame
-rw-r--r--ranger.ext.move.html2821log stats plain blame
-rw-r--r--ranger.ext.openstruct.html4149log stats plain blame
-rw-r--r--ranger.ext.relpath.html3643log stats plain blame
-rw-r--r--ranger.ext.shutil_generatorized.html17595log stats plain blame
-rw-r--r--ranger.ext.waitpid_no_intr.html2863log stats plain blame
-rw-r--r--ranger.fm.html14978log stats plain blame
-rw-r--r--ranger.fsobject.directory.html22719log stats plain blame
-rw-r--r--ranger.fsobject.file.html8689log stats plain blame
-rw-r--r--ranger.fsobject.fsobject.html10110log stats plain blame
-rw-r--r--ranger.fsobject.html6748log stats plain blame
-rw-r--r--ranger.fsobject.loader.html8410log stats plain blame
-rw-r--r--ranger.gui.bar.html14717log stats plain blame
-rw-r--r--ranger.gui.color.html3528log stats plain blame
-rw-r--r--ranger.gui.colorscheme.html6058log stats plain blame
-rw-r--r--ranger.gui.curses_shortcuts.html6804log stats plain blame
-rw-r--r--ranger.gui.defaultui.html11513log stats plain blame
-rw-r--r--ranger.gui.displayable.html21946log stats plain blame
-rw-r--r--ranger.gui.html1850log stats plain blame
-rw-r--r--ranger.gui.mouse_event.html5172log stats plain blame
-rw-r--r--ranger.gui.ui.html11465log stats plain blame
-rw-r--r--ranger.gui.widgets.browsercolumn.html10714log stats plain blame