diff options
author | MC <mc@hack.org> | 2010-06-21 11:39:20 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-21 11:39:20 +0200 |
commit | 7d13534fecc65650972782805413157e826d6397 (patch) | |
tree | 5644c10b137c14f086b9bb29ac8dd5eb7a42dbc0 /mcwm.c | |
parent | d306f511ac1569e409dcb3c5276e98bfd3820908 (diff) | |
download | mcwm-7d13534fecc65650972782805413157e826d6397.zip |
Quote ICCCM.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -686,6 +686,22 @@ void mouseresize(xcb_drawable_t win, int rel_x, int rel_y) /* * Get the window's incremental size step, if any, and use that * when resizing. + * + * FIXME: Do this right. ICCCM v2.0, 4.1.2.3. WM_NORMAL_HINTS + * Property says: + * + * The base_width and base_height elements in conjunction with + * width_inc and height_inc define an arithmetic progression of + * preferred window widths and heights for nonnegative integers + * i and j: + * + * width = base_width + (i × width_inc) + * height = base_height + (j × height_inc) + * + * Window managers are encouraged to use i and j instead of + * width and height in reporting window sizes to users. If a + * base size is not provided, the minimum size is to be used in + * its place and vice versa. */ if (!xcb_get_wm_normal_hints_reply( conn, xcb_get_wm_normal_hints_unchecked(conn, win), &hints, NULL)) |