nanogui: Suggestion for adding nanowm into graphic server!
Subject:
Re: [nanogui] Suggestion for adding nanowm into graphic server!
From:
"wang" ####@####.####
Date:
5 Aug 2002 04:46:43 -0000
Message-Id:
>WMIRegister(cbproc) - register internal window manager
>WMISelectEvent(event_masks) - register events
>Then, in each of the GrDeliverXXXEvent routines,
>call cbproc(event) to notify the internal window
>manager of the events it's requested.
>An issue here will be to ensure that the GrDeliverEvent
>routines are called as the last part of each
>GrXXX function, so that arbitrary Gr* functions can
>be called by the built-in WM.
I don't think we should add a cbproc(event) function
in each of the GrDeliverXXXEvent routines.just keep
current structure,the WM deal with the events the container
window has received .their is no need to notify WM what
event has happenned in additional way.
wang
####@####.####
2002-08-05