I found some code here
http://www.gusnet.cx/proj/miscunix/code/xquerypointer.c and modified it to
return the coordinates in "+x+y" format. It actually works really well
with the windows I like to use - xterms, aterms, etc.  I think you are
generally right, many GUI applications don't like -geometry so much, but I
wasn't really concerned about those - I use terminals 95% of the time.

The next step is, of course, to look at modifying the fluxbox code and
getting interactive window placement done from inside there. A project for
another time :)

Cheers,
Dave.

JohnFlux wrote:
> Sounds cool. But, uh, wasn't there problems with -geometry?
> There is some problem like gnome programs don't like it.
> I remember a discussion a year back about how should a multi-window program
> handle -geometry.  And what about programs with splash screens, etc..
>
> I have a bad memory, hopefully I'll jog someone else's memory enough for th=
> em to flame me and tell me to stfu :)


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to