• [^] # Re: Merci mais c'est un peu plus compliqué

    Posté par . En réponse au message xlock avec l'affichage actif. Évalué à 3.

    Bah, utilise xscreensaver, il faut peut-être transformer un peu ton programme.

    cf http://www.jwz.org/xscreensaver/man1.html


    To use a program as a screensaver, two things are required: that that program draw on the root window (or be able to be configured to draw on the root window); and that that program understand ``virtual root'' windows, as used by virtual window managers such as tvtwm (1). (Generally, this is accomplished by just including the "vroot.h" header file in the program's source.)


    en gros, modifier ton programme pour utiliser la fenêtre root.