forked from enlightenment/terminology
disallow tw popups while terminology popup is present
fix T1290
This commit is contained in:
parent
4f945bcdd7
commit
3f53f0aa5e
|
@ -2347,6 +2347,12 @@ main_term_new(Win *wn, Config *config, const char *cmd,
|
|||
return term;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
main_term_popup_exists(const Term *term)
|
||||
{
|
||||
return term->popmedia || term->popmedia_queue;
|
||||
}
|
||||
|
||||
Win *main_term_win_get(Term *term)
|
||||
{
|
||||
return term->wn;
|
||||
|
|
|
@ -20,6 +20,7 @@ void main_config_sync(const Config *config);
|
|||
|
||||
void change_theme(Evas_Object *win, Config *config);
|
||||
|
||||
Eina_Bool main_term_popup_exists(const Term *term);
|
||||
void main_term_focus(Term *term);
|
||||
|
||||
Win *main_term_win_get(Term *term);
|
||||
|
|
|
@ -562,7 +562,8 @@ _update_link(Evas_Object *obj, Termio *sd,
|
|||
}
|
||||
if (sd->link.string)
|
||||
{
|
||||
if ((sd->link.string[0] == '/') || (link_is_url(sd->link.string)))
|
||||
if ((!main_term_popup_exists(sd->term)) &&
|
||||
((sd->link.string[0] == '/') || (link_is_url(sd->link.string))))
|
||||
{
|
||||
Evas_Coord _x = ox, _y = oy;
|
||||
uint64_t xwin;
|
||||
|
|
Loading…
Reference in New Issue