Re: [gtk-list] Re: window placement upon startup



On Wed, 29 Sep 1999 10:51:28 +0200 (CEST), Tim Janik wrote:
> On Wed, 29 Sep 1999, Erik Mouw wrote:
>> On Wed, 29 Sep 1999 07:22:08 +0000, Robert Roebling wrote:
>> > yes, that is the one that doesn't work before the X window
>> > gets mapped. All this might be bug in KWM, but that doesn't
>> > make it less annyoing,
>> 
>> And if you realize the widget first?
>> 
>>   gtk_widget_realize(widget);
>>   gtk_widget_set_uposition(GTK_WIDGET(widget), xpos, ypos);
>>   gtk_widget_show();
> 
> this has nothing to do with realization, the window manager is simply
> not honouring the application window's position request.

It shouldn't have anything to do with realization. I succesfully used this
hack for a braindead window manager (can't remember exactly which one, can
be something on SunOS, HP/UX, or IRIX).


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]