Re: Xinerama-aware maximise

James (james@piku.org.uk)
Tue, 11 Dec 2001 22:50:59 +0000 (GMT)


[2001-12-11 03:47 -0600] Sasha Vasko wrote:

| You should be looking at Maximize() function in src/afterstep/functions.c
| Information about Xinerama screens should be already present in
| Scr.xinerama_screens_num and Scr.xinerama_screens - basically just an array
| of reactangles - one for each screen. You should find one that corresponds to
| frame_x, frame_y, frame_width, frame_height of the window and then use it as
| maximize area instead of MyDisplayWidth/MyDisplayHeight.

OK, sounds fairly straight-forward. I'll have a go. Now the latest
NVIDIA drivers support bits of Xinerama, there's no need to include
that patch I submitted, AS does the right thing now anyway. It's a
shame GNOME doesn't... the logout box still appears slap in the middle
of my screens.

| Send me a unified diff when you done :
| diff -Nur afterstep-old afterstep-new
| should be sufficient.

What's the 'proper' way to do a diff? Am I supposed to have two copies
of all the source (say 'afterstep-stable', 'afterstep-stable.original') and
then diff both trees together, or should I just copy the files I alter
to '.orig' and diff those. Or doesn't it matter?

-- 
Feeling amorous, she looked under the sheets and cried, "Oh, no,
it's Microsoft!"
6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | jjj.cvxh.bet.hx wnzrf@cvxh.bet.hx (rot13'd)

_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users