Oberon Community Platform Forum
November 22, 2019, 07:14:06 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: use DisplayRefresher for expose events  (Read 2577 times)
fnecati
Jr. Member
**
Posts: 60


« 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;   

Logged
gfeldm
Moderator
Newbie
*****
Posts: 29


« Reply #1 on: June 19, 2011, 02:31:21 PM »

Hi Necati,

thank you. Fixed in rev. 4192.

-- Guenter
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!