[openbox] my Gtk3 application starts vertically maximized and snap-right

o. ohnonot-github at posteo.de
Thu Feb 8 03:26:34 EST 2018


Tom Sheffler wrote:
> I have recently compiled a Gtk3 application of my own design to 
> RaspberryPi Stretch. It runs fine.  However, when I launch the 
> application it is vertically-maximized.  (It is also snapped to the 
> right edge of the screen.)
>
> I would prefer the application to start at its "natural" size.  I have 
> tried setting gtk_window_set_default_size() and I've also tried using 
> gtk_window_set_geometry_hints() to suggest the starting size.
>
> Questions:
> - do you know how I can ask for the starting size to be something I 
> specify?
i have no experience in programing, but generally gtk3 applications 
should remember the last window position?
so just try to resize (unmaximize) it once, maybe that's enough?

if you really think this is openbox related, you should show us your 
rc.xml, usually in ~/.config/openbox.


>
> I apologize if this is a simple question.  This is new territory for me.
>
> Thanks,
> Tom
>
>
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20180208/7268cff0/attachment.html>


More information about the openbox mailing list