handle windows that are partially off-screen
phisch opened this issue · comments
Currently, when a window or geometry is partially outside the root-window, the recording fails without and useful information.
If the area to record is completely outside the root-window, giph should log_error with a proper error message.
Otherwise, it should record the intersecting rectangle between the rectangle to record and the root-window.