/[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.9 by jefbed, Sun Oct 24 00:28:49 2004 UTC revision 1.10 by jefbed, Thu Dec 16 23:55:48 2004 UTC
# Line 34  arshell_setup_mainwindow() Line 34  arshell_setup_mainwindow()
34    XtManageChild(arshell.gui.widgets.mainwindow);    XtManageChild(arshell.gui.widgets.mainwindow);
35  }  }
36    
37    Boolean
38    arshell_override_is_set()
39    {
40      Boolean override_is_set;
41      ARCLARG;
42      antiright_set(XmNoverrideRedirect, (XtArgVal)&override_is_set);
43      XtGetValues(antiright.parent_widget,
44                  antiright.arguments,
45                  antiright.arguments_int);
46      ARCLARG;
47      return(override_is_set);
48    }
49    
50    void
51    arshell_handle_panel_override()
52    {
53    #ifdef XmNtoolTipEnable
54      if(!arshell_override_is_set() || arshell.flags.force_tooltips)
55        {
56          XtVaSetValues(antiright.parent_widget,
57                        XmNtoolTipEnable, True,
58                        NULL);
59        }
60    #endif /* XmNtoolTipEnable  */
61    }
62    
63    
64  void  void
65  arshell_start_event_loop()  arshell_start_event_loop()
66  {  {
67    XtRealizeWidget(antiright.parent_widget);    XtRealizeWidget(antiright.parent_widget);
68      arshell_handle_panel_override();
69      if(arshell.flags.lowered)
70        {
71          XLowerWindow(antiright.display, XtWindow(antiright.parent_widget));
72        }
73    XtAppMainLoop(antiright.app_context);    XtAppMainLoop(antiright.app_context);
74  }  }
75    
# Line 89  arshell_setup_message_window() Line 121  arshell_setup_message_window()
121                      NULL);                      NULL);
122      }      }
123  }  }
 Boolean  
 arshell_override_is_set()  
 {  
   Boolean override_is_set;  
   ARCLARG;  
   antiright_set(XmNoverrideRedirect, (XtArgVal)&override_is_set);  
   XtGetValues(antiright.parent_widget,  
               antiright.arguments,  
               antiright.arguments_int);  
   ARCLARG;  
   return(override_is_set);  
 }  
 void  
 arshell_handle_panel_override()  
 {  
 #ifdef XmNtoolTipEnable  
   if(!arshell_override_is_set() || arshell.flags.force_tooltips)  
     {  
       XtVaSetValues(antiright.parent_widget,  
                     XmNtoolTipEnable, True,  
                     NULL);  
     }  
 #endif /* XmNtoolTipEnable  */  
 }  
124    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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