On 6/7/07, Anydot <dfenze_AT_gmail.com> wrote:
> With latest (tipleast) changes in restack() I contributed, flicker goes
> away too. To the time, it's least clean solution to this flicker problem.
> Try it and you will se ;)
ok nice
it restacks every tiled window below the focused one, my solution
restacks every floating window on top of the stack and raises the
focused separately
separating the raisefocused and raisefloating introduces a bit less
simplicity+SLOC in my code but it saves a few cpu cycles i guess ;)
> btw, can you post me your pull request with mentioned functions?
>
umm my dwm pull request would be huge
here is raisefloating() which is only called in non-floating
layout->arrange() functions
raisefocus() is called in event.c, client.c and in layout.c as it was
in your restackless pull request
void
raisefloating(void) {
Client *c;
XEvent ev;
if (!sel)
return;
if (lt->arrange != floating)
for(c = clients; c; c = c->next)
if(c->isfloating)
XRaiseWindow(dpy, c->win);
XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
Received on Thu Jun 07 2007 - 21:29:10 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:07 UTC