can't reproduce :( Native system on hp compaq workstation.

2009/4/28 <cinap_lenrek@gmx.de>
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





--
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey