/[antiright]/antiright/src/arshell/arshell.c
ViewVC logotype

Diff of /antiright/src/arshell/arshell.c

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

revision 1.14 by jefbed, Sun Jul 3 23:21:34 2005 UTC revision 1.15 by jefbed, Sat Jul 23 17:10:09 2005 UTC
# Line 1  Line 1 
1  /*  /*
2    AntiRight    AntiRight
3    (c) 2003-2005 Jeffrey Bedard    (c) 2003-2005 Jeffrey Bedard
4    jefbed@e-list.net    antiright@gmail.com
5        
6    This file is part of AntiRight.    This file is part of AntiRight.
7        
# Line 26  void Line 26  void
26  arshell_setup_mainwindow()  arshell_setup_mainwindow()
27  {  {
28    ARCLARG;    ARCLARG;
29    antiright_set(XmNshadowThickness, 1);    antiright_set(XmNshadowThickness, 0);
30    arshell.gui.widgets.mainwindow=XmCreateMainWindow(antiright.parent_widget,    arshell.gui.widgets.mainwindow=
31                                                      "mainwindow_manager_widget",      XmCreateMainWindow(antiright.parent_widget,
32                                                      antiright.arguments,                         "mainwindow_manager_widget",
33                                                      antiright.arguments_int);                         antiright.arguments,
34                           antiright.arguments_int);
35    XtManageChild(arshell.gui.widgets.mainwindow);    XtManageChild(arshell.gui.widgets.mainwindow);
36  }  }
37    
# Line 65  arshell_check_if_lowered() Line 66  arshell_check_if_lowered()
66  {  {
67    if(arshell.flags.lowered)    if(arshell.flags.lowered)
68      {      {
69        XLowerWindow(antiright.display, XtWindow(antiright.parent_widget));        XLowerWindow(antiright.display,
70                       XtWindow(antiright.parent_widget));
71          /* This is a small hack to ensure that a window stays lowered if
72             such is specified at the command line.  This mainly is
73             intended to fix operation of AntiRight with fvwm2.  */
74          arshell_add_updater(antiright.parent_widget, "lower");
75      }      }
76  }  }
77    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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