#include <hallo.h>
* Nicholas J. Kisseberth [Fri, Apr 24 2009, 10:00:17AM]:

> diff -urNad icewm-1.2.35/src/ywindow.cc icewm-1.2.35x/src/ywindow.cc
> --- icewm-1.2.35/src/ywindow.cc       2008-01-05 02:34:25.000000000 -0500
> +++ icewm-1.2.35x/src/ywindow.cc      2009-04-24 09:22:09.000000000 -0400
> @@ -1895,8 +1895,8 @@
>          xiInfo[0].screen_number = 0;
>          xiInfo[0].x_org = 0;
>          xiInfo[0].y_org = 0;
> -        xiInfo[0].width = width();
> -        xiInfo[0].height = height();
> +        xiInfo[0].width = DisplayWidth(xapp->display(), 
> DefaultScreen(xapp->display()));
> +        xiInfo[0].height = DisplayHeight(xapp->display(), 
> DefaultScreen(xapp->display()));

I think the problem was solved in the 1.3 branch we are currently using.
See current code, there is now:

    if (xiInfo.getCount() < 2) { // use xinerama if no XRANDR screens (nvidia 
hack)
       xiInfo.clear();
       ...

and below is an alternative handling which is similar to your proposal,
and I think this will be used then in a case like yours.

If you agree please close this report (mail to
525426-d...@bugs.debian.org).

Thanks,
Eduard.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to