Bonjour,

En cherchant un peu sur internet j'ai decouvert cette page : (Interacting With the Window Manager)
http://www.oreilly.com/catalog/motif...html/ch16.html

Je n'ai aucune idée sur comment m'y prendre mais j'aimerais faire quelque chose dans le genre :
Whenever a shell changes from normal state to iconic state, the window manager changes the shell's WM_STATE property. Write a program that gets the PropertyNotify event generated from this state change so that you can track when a shell is iconified and de-iconified. Use XtAddEventHandler() to register a routine that tracks for the event in the same way we tracked for ConfigureNotify events in set_minimum.c
En fait je voudrais si possible changer l'etat à maximiser si l'etat d'une fenetre est fullscreen.
Comment dois je m'y prendre ?