forked from enlightenment/enlightenment
null pointer to fix resolution switching crash
SVN revision: 54526
This commit is contained in:
parent
d7480da137
commit
f80e5cee0b
|
@ -741,6 +741,7 @@ _e_randr_event_cb(void *data __UNUSED__, int type, void *ev)
|
|||
crtc_info->geometry.h = 0;
|
||||
crtc_info->current_mode = NULL;
|
||||
if (crtc_info->outputs) eina_list_free(crtc_info->outputs);
|
||||
crtc_info->outputs = NULL;
|
||||
|
||||
//update screensize of necessary
|
||||
ecore_x_randr_screen_reset(e_randr_screen_info->root);
|
||||
|
|
Loading…
Reference in New Issue