forked from enlightenment/efl
On occasion we see ee->prop.title == NULL. This will safeguard.
SVN revision: 34881
This commit is contained in:
parent
3d551cfeb8
commit
c543df064c
|
@ -1931,8 +1931,11 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
|
|||
ecore_x_mwm_borderless_set(ee->engine.x.win, ee->prop.borderless);
|
||||
if (ee->visible) ecore_x_window_show(ee->engine.x.win);
|
||||
if (ee->prop.focused) ecore_x_window_focus(ee->engine.x.win);
|
||||
if (ee->prop.title)
|
||||
{
|
||||
ecore_x_icccm_title_set(ee->engine.x.win, ee->prop.title);
|
||||
ecore_x_netwm_name_set(ee->engine.x.win, ee->prop.title);
|
||||
}
|
||||
#endif /* BUILD_ECORE_EVAS_X11 */
|
||||
}
|
||||
else if (!strcmp(ee->driver, "xrender_x11"))
|
||||
|
@ -2000,8 +2003,11 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
|
|||
ecore_x_mwm_borderless_set(ee->engine.x.win, ee->prop.borderless);
|
||||
if (ee->visible) ecore_x_window_show(ee->engine.x.win);
|
||||
if (ee->prop.focused) ecore_x_window_focus(ee->engine.x.win);
|
||||
if (ee->prop.title)
|
||||
{
|
||||
ecore_x_icccm_title_set(ee->engine.x.win, ee->prop.title);
|
||||
ecore_x_netwm_name_set(ee->engine.x.win, ee->prop.title);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (!strcmp(ee->driver, "software_16_x11"))
|
||||
|
@ -2055,8 +2061,11 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
|
|||
ecore_x_mwm_borderless_set(ee->engine.x.win, ee->prop.borderless);
|
||||
if (ee->visible) ecore_x_window_show(ee->engine.x.win);
|
||||
if (ee->prop.focused) ecore_x_window_focus(ee->engine.x.win);
|
||||
if (ee->prop.title)
|
||||
{
|
||||
ecore_x_icccm_title_set(ee->engine.x.win, ee->prop.title);
|
||||
ecore_x_netwm_name_set(ee->engine.x.win, ee->prop.title);
|
||||
}
|
||||
#endif /* BUILD_ECORE_EVAS_X11_16 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue