emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 7927a4a: * src/xfns.c (x_set_menu_bar_lines): Fix c


From: Wolfgang Jenkner
Subject: [Emacs-diffs] master 7927a4a: * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
Date: Fri, 29 May 2015 14:33:32 +0000

branch: master
commit 7927a4a3b31d49b80bdc437c101e1155c450eb23
Author: Wolfgang Jenkner <address@hidden>
Commit: Wolfgang Jenkner <address@hidden>

    * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
    
    The signature was changed in the cairo branch, merged on 2015-05-23.
    This oversight broke compiling only the non-toolkit X version.
---
 src/xfns.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/xfns.c b/src/xfns.c
index 5ac58e9..16a568e 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1084,8 +1084,7 @@ x_set_menu_bar_lines (struct frame *f, Lisp_Object value, 
Lisp_Object oldval)
          y = FRAME_TOP_MARGIN_HEIGHT (f);
 
          block_input ();
-         x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
-                       0, y, width, height);
+         x_clear_area (f, 0, y, width, height);
          unblock_input ();
        }
 
@@ -1095,8 +1094,7 @@ x_set_menu_bar_lines (struct frame *f, Lisp_Object value, 
Lisp_Object oldval)
          height = nlines * FRAME_LINE_HEIGHT (f) - y;
 
          block_input ();
-         x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
-                       0, y, width, height);
+         x_clear_area (f, 0, y, width, height);
          unblock_input ();
        }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]