On Tue, 2009-12-22 at 15:42 +1000, Peter Hutterer wrote: > I don't think this one has been in use since 2003. > > Signed-off-by: Peter Hutterer <[email protected]>
/me could see a possible use but meh, Reviewed-by: Dave Airlie <[email protected]> > --- > hw/xfree86/common/xf86Config.c | 39 --------------------------------------- > 1 files changed, 0 insertions(+), 39 deletions(-) > > diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c > index bbdf1a7..072e329 100644 > --- a/hw/xfree86/common/xf86Config.c > +++ b/hw/xfree86/common/xf86Config.c > @@ -1657,45 +1657,6 @@ configLayout(serverLayoutPtr servlayoutp, > XF86ConfLayoutPtr conf_layout, > } > } > > -#ifdef LAYOUT_DEBUG > - ErrorF("Layout \"%s\"\n", conf_layout->lay_identifier); > - for (i = 0; i < count; i++) { > - ErrorF("Screen: \"%s\" (%d):\n", slp[i].screen->id, > - slp[i].screen->screennum); > - switch (slp[i].where) { > - case PosObsolete: > - ErrorF("\tObsolete format: \"%s\" \"%s\" \"%s\" \"%s\"\n", > - slp[i].top, slp[i].bottom, slp[i].left, slp[i].right); > - break; > - case PosAbsolute: > - if (slp[i].x == -1) > - if (slp[i].screen->screennum == 0) > - ErrorF("\tImplicitly left-most\n"); > - else > - ErrorF("\tImplicitly right of screen %d\n", > - slp[i].screen->screennum - 1); > - else > - ErrorF("\t%d %d\n", slp[i].x, slp[i].y); > - break; > - case PosRightOf: > - ErrorF("\tRight of \"%s\"\n", slp[i].refscreen->id); > - break; > - case PosLeftOf: > - ErrorF("\tLeft of \"%s\"\n", slp[i].refscreen->id); > - break; > - case PosAbove: > - ErrorF("\tAbove \"%s\"\n", slp[i].refscreen->id); > - break; > - case PosBelow: > - ErrorF("\tBelow \"%s\"\n", slp[i].refscreen->id); > - break; > - case PosRelative: > - ErrorF("\t%d %d relative to \"%s\"\n", slp[i].x, slp[i].y, > - slp[i].refscreen->id); > - break; > - } > - } > -#endif > /* > * Count the number of inactive devices. > */ _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
