From kde-panel-devel Wed Oct 31 17:02:07 2007 From: "Aaron J. Seigo" Date: Wed, 31 Oct 2007 17:02:07 +0000 To: kde-panel-devel Subject: Re: [Panel-devel] Latest changes screwed Xinerama setups Message-Id: <200710311102.07716.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=119385018326326 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1035088507==" --===============1035088507== Content-Type: multipart/signed; boundary="nextPart132655707.IZ6pBBbPpl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart132655707.IZ6pBBbPpl Content-Type: multipart/mixed; boundary="Boundary-01=_PULKHEVbNaUMKRs" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_PULKHEVbNaUMKRs Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 31 October 2007, Lukas Appelhans wrote: > Am Mittwoch, 31. Oktober 2007 16:43:53 schrieb Aaron J. Seigo: > > On Wednesday 31 October 2007, Lukas Appelhans wrote: > > > Ok, debug output is attached... > > > It only creates one screen :-( > > > > is your Qt compiled with Xinerama support? > > > > can you try compiling the attached program with something like: > > > > gcc -o test_xin test_xin.c -lX11 -lXinerama -I/usr/include > > > > then run test_xin and see what it says? thanks =3D) > > "you have xinerama" hm. interesting. new version attached. should be the last run at this =3D) > Mmh, NVidia-Driver was updated at 21-10-2007... AFAIR it was running with > the new one at the beginning hopefully it's not the driver. =2D-=20 Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Trolltech --Boundary-01=_PULKHEVbNaUMKRs Content-Type: text/x-csrc; charset="us-ascii"; name="test_xin.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test_xin.c" #include #include #include int main(int argc, const char* argv) { Display *display; int unused; int use_xinerama; int screenCount; display = XOpenDisplay(":0"); use_xinerama = (XineramaQueryExtension(display, &unused, &unused) && XineramaIsActive(display)); if (1 || use_xinerama) { printf("you have xinerama\n"); XineramaQueryScreens(display, &screenCount); if (XineramaIsActive(display)) { printf(".. xinerama is active\n"); } else { printf(".. xinerama is NOT active\n"); } printf(".. number of screens from XineramaQueryScreens is %i\n", screenCount); printf(".. number of screens from ScreenCount is %i\n", ScreenCount(display)); } else { printf("single screen suckah!\n"); } XCloseDisplay(display); return 0; } --Boundary-01=_PULKHEVbNaUMKRs-- --nextPart132655707.IZ6pBBbPpl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHKLUP1rcusafx20MRAhs4AJ9M1goXdcLlgUX4pSUgtF3SkDJ0GgCeK2mB etplmW/n6hPtKhkb/B4wJSc= =/B2D -----END PGP SIGNATURE----- --nextPart132655707.IZ6pBBbPpl-- --===============1035088507== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============1035088507==--