forked from enlightenment/enlightenment
aaaaaaaaaaaaaah fix fix fix.. now i handle that focus grab return thing a
bit better... now the keybindings for loweirng and raisign and stuff work 100% right SVN revision: 4423
This commit is contained in:
parent
2aa8fef623
commit
49685ab578
15
src/border.c
15
src/border.c
|
@ -385,7 +385,7 @@ e_focus_in(Eevent * ev)
|
|||
if (b)
|
||||
{
|
||||
b->current.selected = 1;
|
||||
if (e->key_grab) b->current.select_lost_from_grab = 0;
|
||||
e_border_focus_grab_ended();
|
||||
b->changed = 1;
|
||||
}
|
||||
}
|
||||
|
@ -2129,3 +2129,16 @@ e_border_current_focused(void)
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
e_border_focus_grab_ended(void)
|
||||
{
|
||||
Evas_List l;
|
||||
for (l = borders; l; l = l->next)
|
||||
{
|
||||
E_Border *b;
|
||||
|
||||
b = l->data;
|
||||
b->current.select_lost_from_grab = 0;
|
||||
}
|
||||
}
|
||||
|
|
1
src/e.h
1
src/e.h
|
@ -716,6 +716,7 @@ void e_border_lower_below(E_Border *b, E_Border *below);
|
|||
void e_border_init(void);
|
||||
void e_border_adopt_children(Window win);
|
||||
E_Border *e_border_current_focused(void);
|
||||
void e_border_focus_grab_ended(void);
|
||||
|
||||
void e_icccm_move_resize(Window win, int x, int y, int w, int h);
|
||||
void e_icccm_delete(Window win);
|
||||
|
|
Loading…
Reference in New Issue