[Xcb] icccm

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Sun Mar 20 00:58:06 PST 2005




On Sun, 20 Mar 2005, Jamey Sharp wrote:

> On Sun, Mar 20, 2005 at 12:57:26AM +0100, Vincent Torri wrote:
> > Well, i've ported evas to xcb today and i have problems with the current
> > icccm code:
> > 1) i can't use SizeHintsFlags values, whereas i have to use them.
>
> I don't understand. Why do you have to use them?

I'm not comfortable with icccm, but here is a snapshot of what i use :

   szhints.flags = PMinSize | PMaxSize | PSize | USSize;
   szhints.min_width = szhints.max_width = win_w;
   szhints.min_height = szhints.max_height = win_h;
   SetWMNormalHints(conn, win, &szhints);

is there another to do that ?

Vincent


More information about the xcb mailing list