From: Chong Yidong Date: Thu, 18 Sep 2008 18:09:45 +0000 (+0000) Subject: (x_display_info): Remove `height' and `width' members. X-Git-Tag: emacs-pretest-23.0.90~2864 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9edd3e481cdb3048e8a9a160543c2b768f752dbf;p=emacs.git (x_display_info): Remove `height' and `width' members. --- diff --git a/src/xterm.h b/src/xterm.h index 36438834020..3f437b86e97 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -141,9 +141,6 @@ struct x_display_info /* Number of planes on this screen. */ int n_planes; - /* Dimensions of this screen. */ - int height, width; - /* Mask of things that cause the mouse to be grabbed. */ int grabbed; @@ -954,6 +951,8 @@ extern void set_vertical_scroll_bar P_ ((struct window *)); extern int x_dispatch_event P_ ((XEvent *, Display *)); extern unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *, unsigned)); +extern int x_display_pixel_height P_ ((struct x_display_info *)); +extern int x_display_pixel_width P_ ((struct x_display_info *)); /* Defined in xselect.c */