<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best way to investigate such issue is to provide a simple reproducer in C.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Cheers,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Olivier</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 August 2015 at 17:48, Sam Varshavchik <span dir="ltr"><<a href="mailto:mrsam@courier-mta.com" target="_blank">mrsam@courier-mta.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently I have an application window that, according to xprop(1), has the following properties:<br>
<br>
WM_NORMAL_HINTS(WM_SIZE_HINTS):<br>
       program specified minimum size: 89 by 277<br>
       program specified maximum size: 1912 by 277<br>
<br>
So, the application window claims that its horizontal size can be adjusted, and its vertical size is fixed. So I should be able to resize this application window horizontally.<br>
If I prepare to grab either the left or the right border with the pointer, immediately upon hovering over the border xfwm (4.12) changes the mouse icon to an arrow in the appropriate direction, supposedly indicating that the application window can, indeed, be resized.<br>
<br>
However, as soon as I actually grab the appropriate border, the mouse icon changes to a hand, and instead of resizing the application window, xfwm4 drags the entire window, changing its position, but keeping its existing size the same.<br>
<br>
It appears to me that xfwm4 reads WM_NORMAL_HINTS only when the application window gets mapped. At the time this application window got mapped, its WM_NORMAL_HINTS indicated a fixed size, with minimum and maximum width being the same (about the middle of this range). But after the window got mapped, my application updated its WM_NORMAL_HINTS to the values shown above.<br>
<br>
If I change the application to indicate an adjustable horizontal range before the window gets mapped, xfwm4 will let me resize the application window normally.<br>
<br>
I have not done enough experimentation to determine whether or not xfwm pays attention to updated WM_NORMAL_HINTS, as long as the initial values, when mapped, indicate an adjustable size (meaning that this occurs only if the initial WM_NORMAL_HINTS, upon mapping, reported a fixed size).<br>
<br>
Does this look like a bug, or am I failing to implement some parts of icccm that prod the WM to look at WM_NORMAL_HINTS again?<br>
<br>_______________________________________________<br>
Xfce mailing list<br>
<a href="mailto:Xfce@xfce.org">Xfce@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce</a><br>
<a href="http://www.xfce.org" rel="noreferrer" target="_blank">http://www.xfce.org</a><br></blockquote></div><br></div>