ArcticaProject / nx-libs

nx-libs
Other
120 stars 39 forks source link

use Xext/dpmsstubs.c? #901

Closed uli42 closed 4 years ago

uli42 commented 4 years ago

Xext/dpmsstubs.c contain dummy code that is identically to be found in hw/nxagent/Init.c. In addition Xext/dpmsstubs.c is not used during compilation.

Clarify the situation. Can we drop the file? Should we drop the code in Init.c and compile dpmsstubs.c instead?

uli42 commented 4 years ago

Probably we should incorporate this commit:

commit 978f3b496b9951ee8120a0efcc5cd12503e26770
Author: Roland Mainz <roland.mainz@nrubsig.org>
Date:   Sat Mar 5 21:38:29 2005 +0000

    xc/programs/Xserver/Imakefile
    xc/programs/Xserver/hw/xnest/Imakefile
    //bugs.freedesktop.org/show_bug.cgi?id=2653) attachment #2020
        (https://bugs.freedesktop.org/attachment.cgi?id=2020): Cleanup Xnest
        usage of the DPMS dummy stub functions from dpmsstubs.c instead of
        using it's own copy of these functions.