🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #39

Re: [AIDE] pid de la fenetre active

#39
From: Cyrille Lefevre
Date: Thu, 13 Apr 2000 00:00
19 lines
1861 bytes
gaucher@belzebuth.enfer (Philippe Gaucher) writes:

> J'ai besoin d'aide car je ne sais pas programmer avec X-Window.  J'ai
> bien un livre sur le sujet mais je n'ai pas trouv� comment faire pour
> autant. Voil�, je voudrais svp un petit programme C qui sort en sortie
> standard le pid du processus qui "poss�de" la fen�tre qui est en
> avant-plan au moment o� le programme est lanc�. Et c'est tout ! C'est
> pour utiliser dans un shell script.
> 
> Quelqu'un aurait-il l'amabilit� de me faire ce petit programme C svp ?
> Merci d'avance. C'est pour utiliser sous UNIX of course.

si c'est pour tuer le fenetre sur laquelle tu pointer, il y a xkill
qui fait cela tres bien.

Cyrille.
-- 
mailto:clefevre@no-spam.citeweb.net   Remove "no-spam." to answer me back.
mailto:Cyrille.Lefevre@no-spam.edf.fr Supprimer "no-spam." pour me repondre.
Technical Details
Message-ID: <g0spll7e.fsf@pc166.gits.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <GAUCHER.00Apr13170814@irmast1.u-strasbg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 1082d0,dfddbb7848642bd2
X-Google-Attributes: gid1082d0,public
X-Google-Thread: f9822,dfddbb7848642bd2
X-Google-Attributes: gidf9822,public
X-Google-Thread: 110f2c,dfddbb7848642bd2
X-Google-Attributes: gid110f2c,public
From: Cyrille Lefevre <clefevre@no-spam.citeweb.net>
Subject: Re: [AIDE] pid de la fenetre active
Date: 2000/04/13
Message-ID: <g0spll7e.fsf@pc166.gits.fr>
X-Deja-AN: 610855804
References: <GAUCHER.00Apr13170814@irmast1.u-strasbg.fr>
X-Complaints-To: abuse@isdnet.net
X-Trace: news2.isdnet.net 955662955 15833 212.198.226.238 (13 Apr 2000 21:55:55 GMT)
X-Face: V|+c;4!|B?E%BE^{E6);aI.[<<r#uCVjK"~Ke!@0vxS/.,wki/c|uVnNV!BA-_gY2sfoGc3 f{#/$PT>97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C
Organization: ACME
Reply-To: clefevre@no-spam.citeweb.net
NNTP-Posting-Date: 13 Apr 2000 21:55:55 GMT
Newsgroups: fr.comp.lang.c,fr.comp.applications.x11,fr.comp.os.unix