Re: xinerama + vidmode



Ben Jansens a écrit:
Hey,

Just wondering if anyone knows a means to get the XF86VidModeGetModeLine and
XF86VidModeGetViewPort for any xinerama "screens" other than the primary.


Status XGetWindowAttributes(display, w, window_attributes_return)
             Display *display;
             Window w;
             XWindowAttributes *window_attributes_return;

typedef struct {
            int x, y;
            int width, height;
            int border_width;
            int depth;
            Visual *visual;
            Window root;
            int class;
            int bit_gravity;
            int win_gravity;
            int backing_store;
            unsigned long backing_planes;
            unsigned long backing_pixel;
            Bool save_under;
            Colormap colormap;
            Bool map_installed;
            int map_state;
            long all_event_masks;
            long your_event_mask;
            long do_not_propagate_mask;
            Bool override_redirect;
            Screen *screen;
       } XWindowAttributes;

Regards,
Iban.




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