Re: [PATCH 2/3] Input: Add KeyFocusIn internal event

2015-09-21 Thread Daniel Stone
Hi, On 28 November 2014 at 06:02, Peter Hutterer wrote: > On Mon, Nov 24, 2014 at 10:17:33PM +, Daniel Stone wrote: >> diff --git a/xkb/xkbActions.c b/xkb/xkbActions.c >> index c6cbf56..c075115 100644 >> --- a/xkb/xkbActions.c >> +++ b/xkb/xkbActions.c >> @@ -1144,9

Re: [PATCH 2/3] Input: Add KeyFocusIn internal event

2014-11-28 Thread Daniel Stone
Hi, On 28 November 2014 at 06:02, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Nov 24, 2014 at 10:17:33PM +, Daniel Stone wrote: diff --git a/Xi/exevents.c b/Xi/exevents.c index b0bc47e..cd2924a 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -810,6 +810,7 @@

Re: [PATCH 2/3] Input: Add KeyFocusIn internal event

2014-11-27 Thread Peter Hutterer
On Mon, Nov 24, 2014 at 10:17:33PM +, Daniel Stone wrote: KeyFocusIn is used to notify the server that it has entered focus with a key held down, so should be used to update the internal state (including modifiers), but perform any actions such as sending key events to the client,

[PATCH 2/3] Input: Add KeyFocusIn internal event

2014-11-24 Thread Daniel Stone
KeyFocusIn is used to notify the server that it has entered focus with a key held down, so should be used to update the internal state (including modifiers), but perform any actions such as sending key events to the client, switching VTs, etc. This is intended to be used for FocusIn/KeymapNotify