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 |
|
|
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 |
|
|
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 |
|
|