Test case:

draw a window... run rio

inside that thing draw another window and hide it.

now rezise the rio window.

now, the region where the window was seems to eat
mouse events, but the window is hidden.

Fix:

in rio.c:^resized, change this:
...
                if(ishidden)
                        im = allocimage(display, r, screen->chan, 0, DWhite);
                else
                        im = allocwindow(wscreen, r, Refbackup, DWhite);

to this:

                if(ishidden){
                        im = allocimage(display, r, screen->chan, 0, DWhite);
                        r = ZR;
                }else
                        im = allocwindow(wscreen, r, Refbackup, DWhite);


can anyone confirm this and may make a patch?

--
cinap


Reply via email to