On 6/7/07, Anydot <[EMAIL PROTECTED]> wrote:
With latest (tipmost) changes in restack() I contributed, flicker goes
away too. To the time, it's most 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 more
complexity+SLOC in my code but it saves a few cpu cycles i guess ;)
btw, can you post me your patch with mentioned functions?
umm my dwm patch 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 patch
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));
}