Re: [ANNOUNCE] Sawfish 1.6.1 "Astral". : sawfish restart bugs, short report.



a little more explanation to my previous post.

Janek Kozicki said:     (by the date of Sun, 24 Jan 2010 15:19:47 +0100)

> 2. go to far away viewport, open an xterm in there. The pixel position
> of this xterm must be above 2^15 pixels, counting from left-top 1st
> viewport top corner.

just to be clear, the window position is calculated like that:

(viewport-X-number - 1)*(your-screen-X-resolution)+(window-X-pozition-on-screen)

So on viewport 3,3 with resotlution 1024x768, and window position
100,100, you get X coordinate:

2*1024+100 = 2148

to get 2^15 pixels with screen resolution 1024x768, you need 32 viewports:

32*1024=32768

therefore:

  (define-special-variable viewport-dimensions '(35 . 5)
    "Size of each virtual workspace.")

go to viewport (34. 5) and put xterm there.

-- 
Janek Kozicki                                                         |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]