Oberon Community Platform Forum

Development => UnixAOS => Topic started by: fnecati on June 18, 2011, 11:35:06 AM



Title: use DisplayRefresher for expose events
Post by: fnecati on June 18, 2011, 11:35:06 AM
Hi Guenter,

In Unix.KbdMouse.Mod PollXQueue procedure, the best way, I think, send a message to DisplayRefresher.Handle :

         | Api.Expose, Api.GraphicsExpose:
               em := S.VAL( Api.XExposeEvent, event );
               IF em.count = 0 THEN (* wait until last message*)

                  (* let DisplayRefresher handle this  *)
                  km.keysym:= 0FFC6H;
                  SendKeyboardMsg( km );
               END;   



Title: Re: use DisplayRefresher for expose events
Post by: gfeldm on June 19, 2011, 02:31:21 PM
Hi Necati,

thank you. Fixed in rev. 4192.

-- Guenter