Re: [PATCH 3/3] compositor: properly restore keyboard_focus in notify_keyboard_focus()

2012-03-20 Thread Kristian Hoegsberg
On Fri, Mar 16, 2012 at 05:25:11PM +0200, Ander Conselvan de Oliveira wrote: > Commit f992b2fc removed the saved keyboard focus logic to fix a crash > when the saved surface is destroyed. However, setting keyboard focus to > the first surface on the list ends up trying to set the focus to the > cur

[PATCH 3/3] compositor: properly restore keyboard_focus in notify_keyboard_focus()

2012-03-16 Thread Ander Conselvan de Oliveira
Commit f992b2fc removed the saved keyboard focus logic to fix a crash when the saved surface is destroyed. However, setting keyboard focus to the first surface on the list ends up trying to set the focus to the cursor surface most of the time. The end result is a NULL keyboard focus. This patch re