Add get_position and get_inner_size for X11