[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Latest changes screwed Xinerama setups
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-10-31 15:43:53
Message-ID: 200710310943.53324.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


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 =)

-- 
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

["test_xin.c" (text/x-csrc)]

#include <stdio.h>

#include <X11/extensions/Xinerama.h>
#include <X11/Xlib.h>

int main(int argc, const char* argv)
{
    Display *display;
    int unused;
    int use_xinerama;

    display = XOpenDisplay(":0");
    use_xinerama = (XineramaQueryExtension(display, &unused, &unused) && XineramaIsActive(display));

    if (use_xinerama) {
        printf("you have xinerama\n");
    } else {
        printf("single screen suckah!\n");
    }

    XCloseDisplay(display);
    return 0;
}

[Attachment #8 (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic