I'm trying to control the status of a window - namely to make sure that it can't "disappear" off the screen Since I do not want to delve into the source code, merely detecting when the user minimizes it and automatically restoring it would be the goal.
Requirements for Kiosk:
P1 200MHZ machine running X (fun.)
Minimalist - running simple web browser and metacity for windowing without any other systems running (no task bar and they don't want one)
Web browser should not ever "disappear" - I have a script polling every once in a while to start it up again if Its not running, but the problem is without a taskbar, minimizing the window means it... dissapears into the background with no obvious way to get at it, other than Alt-tab.
I know xwininfo can tell me the status of a window, if i click on one, but is there any way to get a listing of windows?
Is there any way to tell a window to maximize from a script?