# HG changeset patch # User Chong Yidong # Date 1221761923 0 # Node ID 8adf9be2900cae90b86a2eced63b531c8c5f70fb # Parent 166909ca8be288ed82bb49fafda5ef76ecbdeff0 (ns_display_info): Remove `height' and `width' members. diff -r 166909ca8be2 -r 8adf9be2900c src/nsterm.h --- a/src/nsterm.h Thu Sep 18 18:18:12 2008 +0000 +++ b/src/nsterm.h Thu Sep 18 18:18:43 2008 +0000 @@ -502,8 +502,7 @@ struct ns_color_table *color_table; - /* 23: Dimensions and DPI resolution of this screen */ - int height, width; + /* 23: DPI resolution of this screen */ double resx, resy; /* 23: Mask of things that cause the mouse to be grabbed */ @@ -802,6 +801,9 @@ extern void ns_put_pixel (void *img, int x, int y, unsigned long argb); extern void ns_set_alpha (void *img, int x, int y, unsigned char a); +extern int x_display_pixel_height P_ ((struct ns_display_info *)); +extern int x_display_pixel_width P_ ((struct ns_display_info *)); + /* This in nsterm.m */ extern unsigned long ns_get_rgb_color (struct frame *f, float r, float g, float b, float a);