summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-11-30 12:02:48 -0800
committerIan Osgood <iano@quirkster.com>2006-11-30 12:02:48 -0800
commit8776193f47bc164becb7857c9fb8e6ee6679287f (patch)
tree19c667f194f8c03aaf044c0c5b85b04be2605fd1
parentb649faee831f4291fee41b2d90acb319f6bc8cba (diff)
Update for RandR 1.2 name changes.
-rw-r--r--xcbrandr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xcbrandr.c b/xcbrandr.c
index 9a341e9..ecf00d7 100644
--- a/xcbrandr.c
+++ b/xcbrandr.c
@@ -373,7 +373,7 @@ main (int argc, char **argv)
values[0] = 1;
xcb_configure_window(c, root->root, mask, values);
- if (setit) xcb_randr_select_input (c, root->root, XCB_RANDR_SM_SCREEN_CHANGE_NOTIFY);
+ if (setit) xcb_randr_select_input (c, root->root, XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE);
if (setit) {
xcb_randr_set_screen_config_cookie_t sscc;
@@ -422,7 +422,7 @@ main (int argc, char **argv)
sce->timestamp, sce->config_timestamp);
printf(" Rotation = %x\n", sce->rotation);
printf(" %d X %d pixels, %d X %d mm\n",
- sce->width, sce->height, sce->mwidth, sce->mheight);
+ sce->width, sce->height, sce->mmWidth, sce->mmHeight);
printf("Display width %d, height %d\n",
root->width_in_pixels, root->height_in_pixels);