On Tue, 2008-11-04 at 02:07 -0800, Keith Packard wrote: > diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c > index df47598..0ae1e4d 100644 > --- a/hw/xfree86/modes/xf86Crtc.c > +++ b/hw/xfree86/modes/xf86Crtc.c > @@ -2545,6 +2545,14 @@ xf86SaveScreen(ScreenPtr pScreen, int mode) > return TRUE; > } > > +static void (*dri_crtc_notify_hook) (ScreenPtr pScreen); > + > +_X_EXPORT void > +xf86_set_dri_crtc_notify_hook (void (*hook) (ScreenPtr pScreen)) > +{ > + dri_crtc_notify_hook = hook; > +} > + > /** > * Disable all inactive crtcs and outputs > */
Please put this in the rrScrPrivRec instead. When we finally finish multi-GPU support in RANDR this will want to be per-ScreenRec. (At which point it should probably be a proper wrap chain as well.) - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg