Skip to content
Browse files

Clipboard Autohide Fix again.

  • Loading branch information...
rbtylee committed Jun 2, 2018
1 parent 518e796 commit e4bdd735425d92888a04b478a5f714bbf62fce55
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/modules/clipboard/e_mod_main.c
@@ -642,13 +642,11 @@ _cb_menu_post_deactivate(void *data, E_Menu *menu __UNUSED__)
Instance *inst = data;
#if 0
// this fixes autohide issue but causes seg fault on key bindings
e_gadcon_locked_set(inst->gcc->gadcon, 0);

if (inst->gcc)
e_gadcon_locked_set(inst->gcc->gadcon, EINA_FALSE);
if (inst->o_button && e_icon_edje_get(inst->o_button))
e_icon_edje_emit(inst->o_button, "e,state,unfocused", "e");
if (inst->menu) {
e_menu_post_deactivate_callback_set(inst->menu, NULL, NULL);

1 comment on commit e4bdd73


This comment has been minimized.

Copy link
Collaborator Author

rbtylee commented on e4bdd73 Jun 2, 2018

Looked in gdb and inst->gcc is null as is inst->o_button when called from a key binding so this fixes the autohide issue and avoids the segfault.

Please sign in to comment.
You can’t perform that action at this time.