Re: Xlib: DisplayWidth / DisplayHeight

2023-09-12 Thread Vladimir Dergachev
On Fri, 8 Sep 2023, Zbigniew wrote: If you are doing this for open source project, you should change your code to: [..] The code you've pasted doesn't work properly; it returns the size of virtual screen — so you added 3x as much lines to get, in effect, the same (incorrect) result as the

Re: Xlib: DisplayWidth / DisplayHeight

2023-09-12 Thread Zbigniew
> If you are doing this for open source project, you should change your code > to: > > [..] The code you've pasted doesn't work properly; it returns the size of virtual screen — so you added 3x as much lines to get, in effect, the same (incorrect) result as the few lines I pasted. > Oh, and no I