/[emacs]/emacs/lwlib/xlwmenu.c
ViewVC logotype

Diff of /emacs/lwlib/xlwmenu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by lektu, Tue Feb 4 14:08:23 2003 UTC revision 1.57 by fx, Thu May 22 13:37:50 2003 UTC
# Line 25  Boston, MA 02111-1307, USA.  */ Line 25  Boston, MA 02111-1307, USA.  */
25  #include <config.h>  #include <config.h>
26  #endif  #endif
27    
28  #include "../src/lisp.h"  #include "lisp.h"
29    
30  #include <stdio.h>  #include <stdio.h>
31    
# Line 1707  XlwMenuInitialize (request, mw, args, nu Line 1707  XlwMenuInitialize (request, mw, args, nu
1707       Cardinal *num_args;       Cardinal *num_args;
1708  {  {
1709    /* Get the GCs and the widget size */    /* Get the GCs and the widget size */
   XSetWindowAttributes xswa;  
   int mask;  
1710    
1711    Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw)));    Window window = RootWindowOfScreen (DefaultScreenOfDisplay (XtDisplay (mw)));
1712    Display* display = XtDisplay (mw);    Display* display = XtDisplay (mw);
# Line 1739  XlwMenuInitialize (request, mw, args, nu Line 1737  XlwMenuInitialize (request, mw, args, nu
1737    make_drawing_gcs (mw);    make_drawing_gcs (mw);
1738    make_shadow_gcs (mw);    make_shadow_gcs (mw);
1739    
   xswa.background_pixel = mw->core.background_pixel;  
   xswa.border_pixel = mw->core.border_pixel;  
   mask = CWBackPixel | CWBorderPixel;  
   
1740    mw->menu.popped_up = False;    mw->menu.popped_up = False;
1741    
1742    mw->menu.old_depth = 1;    mw->menu.old_depth = 1;

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26