Event: Add client_raise when clicking on the client window unfocused (Request by KERNEL_ERROR).

This commit is contained in:
Martin Duquesnoy 2009-07-06 22:30:28 +02:00
parent 22899d096f
commit a4a80fb3af

View File

@ -74,7 +74,10 @@ buttonpress(XButtonEvent *ev)
&& (ev->button == Button1
|| ev->button == Button2
|| ev->button == Button3))
{
client_focus(c);
client_raise(c);
}
/* Root */
if(ev->window == ROOT)