Mercurial > hg > xemacs-beta
comparison src/device-x.c @ 414:da8ed4261e83 r21-2-15
Import from CVS: tag r21-2-15
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:21:38 +0200 |
parents | 697ef44129c6 |
children | 11054d720c21 |
comparison
equal
deleted
inserted
replaced
413:901169e5ca31 | 414:da8ed4261e83 |
---|---|
694 XtSetArg (al[4], XtNheight, HeightOfScreen (ScreenOfDisplay (dpy, screen))); | 694 XtSetArg (al[4], XtNheight, HeightOfScreen (ScreenOfDisplay (dpy, screen))); |
695 XtSetValues (app_shell, al, countof (al)); | 695 XtSetValues (app_shell, al, countof (al)); |
696 XtRealizeWidget (app_shell); | 696 XtRealizeWidget (app_shell); |
697 } | 697 } |
698 | 698 |
699 #ifdef HAVE_SESSION | 699 #ifdef HAVE_WMCOMMAND |
700 { | 700 { |
701 int new_argc; | 701 int new_argc; |
702 char **new_argv; | 702 char **new_argv; |
703 make_argc_argv (Vcommand_line_args, &new_argc, &new_argv); | 703 make_argc_argv (Vcommand_line_args, &new_argc, &new_argv); |
704 XSetCommand (XtDisplay (app_shell), XtWindow (app_shell), new_argv, new_argc); | 704 XSetCommand (XtDisplay (app_shell), XtWindow (app_shell), new_argv, new_argc); |
705 free_argc_argv (new_argv); | 705 free_argc_argv (new_argv); |
706 } | 706 } |
707 #endif /* HAVE_SESSION */ | 707 #endif /* HAVE_WMCOMMAND */ |
708 | 708 |
709 | 709 |
710 #ifdef HAVE_OFFIX_DND | 710 #ifdef HAVE_OFFIX_DND |
711 DndInitialize ( app_shell ); | 711 DndInitialize ( app_shell ); |
712 #endif | 712 #endif |