comparison src/menubar-x.c @ 4522:fc7067b7f407

Backout last patch; forgot to specify file.
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 29 Oct 2008 03:37:16 +0900
parents 383ab474a241
children 726060ee587c
comparison
equal deleted inserted replaced
4521:383ab474a241 4522:fc7067b7f407
688 shellx = shelly = 0; 688 shellx = shelly = 0;
689 #ifndef HAVE_WMCOMMAND 689 #ifndef HAVE_WMCOMMAND
690 { 690 {
691 Widget shell = XtParent (daddy); 691 Widget shell = XtParent (daddy);
692 692
693 Xt_SET_ARG (al [0], XtNx, &shellx); 693 XtSetArg (al [0], XtNx, &shellx);
694 Xt_SET_ARG (al [1], XtNy, &shelly); 694 XtSetArg (al [1], XtNy, &shelly);
695 XtGetValues (shell, al, 2); 695 XtGetValues (shell, al, 2);
696 } 696 }
697 #endif 697 #endif
698 Xt_SET_ARG (al [0], XtNx, &framex); 698 XtSetArg (al [0], XtNx, &framex);
699 Xt_SET_ARG (al [1], XtNy, &framey); 699 XtSetArg (al [1], XtNy, &framey);
700 XtGetValues (daddy, al, 2); 700 XtGetValues (daddy, al, 2);
701 btn->x_root = shellx + framex + btn->x; 701 btn->x_root = shellx + framex + btn->x;
702 btn->y_root = shelly + framey + btn->y; 702 btn->y_root = shelly + framey + btn->y;
703 btn->state = ButtonPressMask; /* all buttons pressed */ 703 btn->state = ButtonPressMask; /* all buttons pressed */
704 } 704 }