--- src/rhd_randr.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/rhd_randr.c b/src/rhd_randr.c index 62b5e74..fc0439f 100644 --- a/src/rhd_randr.c +++ b/src/rhd_randr.c @@ -499,6 +499,14 @@ rhdRRCrtcModeFixupDUMMY(xf86CrtcPtr crtc, return TRUE; } +static void +rhdRRCrtcPan(xf86CrtcPtr crtc, int x, int y) +{ + struct rhdCrtc *rhdCrtc = ((struct rhdRandrCrtc*) (crtc->driver_private))->rhdCrtc; + + rhdCrtc->FrameSet(rhdCrtc, x, y); +} + /* * xf86Output callback functions @@ -1531,6 +1539,10 @@ static xf86CrtcFuncsRec rhdRRCrtcFuncs = { /* set_mode_major */ , NULL #endif +#if XF86_CRTC_VERSION >= 2 + /* pan */ + , rhdRRCrtcPan +#endif }; /* -- 1.5.6 _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg