Fix to reset clipping at reconnect resize
The previous fix for clipping problems was not enough, reverted that change in xwin.c in favor for adding reset of window clipping rect at reconnect. Fix issue #117
This commit is contained in:
parent
b9481bb01b
commit
05689dbc99
@ -1755,12 +1755,17 @@ save_licence(unsigned char *data, int length)
|
||||
void
|
||||
rd_create_ui()
|
||||
{
|
||||
/* only create a window if we dont have one intialized */
|
||||
if (!ui_have_window())
|
||||
{
|
||||
/* create a window if we dont have one intialized */
|
||||
if (!ui_create_window())
|
||||
exit(EX_OSERR);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* reset clipping if we already have a window */
|
||||
ui_reset_clip();
|
||||
}
|
||||
}
|
||||
|
||||
/* Create the bitmap cache directory */
|
||||
|
Loading…
Reference in New Issue
Block a user