title: `XSetWMNormalHints` and `XSetWMSizeHints`
body: <p>I'm confused with <code>XSetWMNormalHints</code> and <code>XSetWMSizeHints</code>. I want to set my window non-resizable, and a call to <code>XSetWMNormalHints</code> does it properly. But if I call <code>XSetWMSizeHints</code> instead, nothing really happens; the window is still resizable. How are the 2 functions used for my purpose, and what exactly does <code>XSetWMSizeHints</code> do? I've read the documentation multiple times, but I'm still confused, so asking a question here.</p>
  
  <pre><code>sh = XAllocSizeHints();
  sh-&gt;flags = PMinSize | PMaxSize;
  sh-&gt;min_width = sh-&gt;max_width = 100;
  sh-&gt;min_height = sh-&gt;max_height = 100;
  XSetWMNormalHints(d, w, sh);
  //XSetWMSizeHints(d, w, sh, PMinSize | PMaxSize);
  XFree(sh);
  </code></pre>