but in sanitize_x/y, if the region is empty, usage of region is skipped... so again, won't change much if the xgetwindowproperty fail.
basically we have two solutions if xgetwindowproperty fails:
1) the scrollbars won't take into account the struts (like now, because the region is cleared everytime).
2) the scrollbars will use the region calculated before (if the region will be cleared only inside the if statement).
but in sanitize_x/y, if the region is empty, usage of region is skipped... so again, won't change much if the xgetwindowproperty fail.
basically we have two solutions if xgetwindowproperty fails:
1) the scrollbars won't take into account the struts (like now, because the region is cleared everytime).
2) the scrollbars will use the region calculated before (if the region will be cleared only inside the if statement).