Hello folks,

I was looking at ecore_evas_size_min_set and found out that if we set
the size, Ecore_Evas will automatically set the request_pos flag using
_ecore_evas_x_size_pos_hints_update. As a result, even if you only
want to set a min / base size for your window, you're going to have to
set request_pos to 1 and hence have the window move to (0,0) on the
screen. The patch allows _ecore_evas_x_size_pos_hints_update to sort
this out.

_ecore_evas_x_size_pos_hints_update(Ecore_Evas *ee)

becomes

_ecore_evas_x_size_pos_hints_update(Ecore_Evas *ee, Evas_Bool request_pos)

so now we can request the min / base size without the request_pos
moving the window to (0,0) on the screen.

Regards,
Hisham.

-- 
Hisham Mardam Bey
MSc (Computer Science)
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)

Attachment: ecore_evas_x_size_pos_hints_update.diff
Description: Binary data

Reply via email to