Sorry that it took so long to fix! Today was the last day of classes. :)
Turns out that the frame's x and y variables were being set regardless of what
parameters were passed to them, and the override_redirect variable was being
set to False when the app wasn't placed into the Slit. I've attached a patch
that fixes these up! To apply it, copy the patch into your bbpal-0.3/src
directory and type 'patch -p0 < bbpal.geom.patch'. Thanks for pointing that
out, Jens!
- Chuck
On 05-May-2000 [EMAIL PROTECTED] wrote:
> how can i fixt the position from bbpalm at the workspace?
> bbpalm -geom +200+200 doesn't work.
> --
> Jens Roesiger <[EMAIL PROTECTED]>
> * ID-PRO Deutschland GmbH * Am Hofgarten 20 * D-53113 Bonn
> * Tel +49 (0)2 28-4 21 54-0 * Fax-359
> * http://open-for-the-better.com/
-------------------------------------------------{ Charles Nusbaum }-
"...que toda la vida es sue�o, / y los sue�os { The College of Wooster }-
sue�os son." -- La vida es sue�o { [EMAIL PROTECTED] }-
-------------------------------------------------{ elechaet.dhs.org }-
--- bbpal.cc Thu Apr 20 22:52:55 2000
+++ bbpal.cc.p Fri May 5 15:48:40 2000
@@ -83,10 +83,8 @@
// frame.width = resource->pal.width + 2 * resource->frame.bevelWidth;
// frame.height = resource->pal.height + 2 * resource->frame.bevelWidth;
frame.height = 52;
-// frame.x = resource->position.x;
-// frame.y = resource->position.y;
- frame.x = 0;
- frame.y = 0;
+ frame.x = resource->position.x;
+ frame.y = resource->position.y;
label.width = 48;
label.height = 48;
@@ -107,7 +105,7 @@
attrib.override_redirect = False;
wmhints.initial_state = WithdrawnState;
} else {
- attrib.override_redirect = False;
+ attrib.override_redirect = True;
wmhints.initial_state = NormalState;
}