Skip to content
Permalink
Browse files

Revert Autohide commit.

  • Loading branch information...
rbtylee committed Jun 2, 2018
1 parent f08f729 commit c4c90f576c3e94a5867389fbcec7743fe0689d4e
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/modules/clipboard/e_mod_main.c
@@ -642,9 +642,13 @@ _cb_menu_post_deactivate(void *data, E_Menu *menu __UNUSED__)
{
EINA_SAFETY_ON_NULL_RETURN(data);
Instance *inst = data;
#if 0
// FIXME
// this fixes autohide issue but causes seg fault on key bindings
e_gadcon_locked_set(inst->gcc->gadcon, 0);
if (inst->o_button && e_icon_edje_get(inst->o_button))
e_icon_edje_emit(inst->o_button, "e,state,unfocused", "e");
#endif
if (inst->menu) {
e_menu_post_deactivate_callback_set(inst->menu, NULL, NULL);
e_object_del(E_OBJECT(inst->menu));

1 comment on commit c4c90f5

@rbtylee

This comment has been minimized.

Copy link
Collaborator Author

commented on c4c90f5 Jun 2, 2018

From backtrace in gdb:

Thread 1 "enlightenment" received signal SIGSEGV, Segmentation fault.
0xb31556ef in _cb_menu_post_deactivate (data=0x8398208, menu=0x85fd140)
    at clipboard/e_mod_main.c:645

645	  e_gadcon_locked_set(inst->gcc->gadcon, 0);
Please sign in to comment.
You can’t perform that action at this time.