Home | History | Annotate | Download | only in putsurface

Lines Matching refs:width

35 static int create_window(void *win_display, int x, int y, int width, int height);
36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit);
52 static Pixmap create_pixmap(void *win_display, int width, int height)
64 printf("Create a pixmap from ROOT window %dx%d, pixmap size %dx%d\n\n", attr.width, attr.height, width, height);
65 pixmap = XCreatePixmap(x11_display, root, width, height,
71 static int create_window(void *win_display, int x, int y, int width, int height)
80 drawable_thread0 = (void *)XCreateSimpleWindow(x11_display, root, x, y, width, height,
86 sizehints.width = width;
101 drawable_thread0 = (void *)create_pixmap(x11_display, width, height);
109 drawable_thread1 = (void *)XCreateSimpleWindow(x11_display, root, width, 0, width, height,
114 sizehints.width = width;
125 drawable_thread1 = (void *)create_pixmap(x11_display, width, height);
135 static int check_window_event(void *win_display, void *drawable, int *width, int *height, int *quit)
162 *width = event.xconfigure.width;
164 printf("Scale window to %dx%d\n", width, height);