Check GtkIMContext:input-purpose to disable IM on lock screen
authorDaiki Ueno <ueno@unixuser.org>
Mon, 13 May 2013 02:47:29 +0000 (11:47 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Mon, 13 May 2013 02:47:29 +0000 (11:47 +0900)
commit927e9f58da9b4a9898403c8e339109e2ad2fa966
tree13d5667163eccd91ecad093af21f14f2eb26d09f
parent667b7f0b96e5a7e1190e606a9c680bcbda8c2a88
Check GtkIMContext:input-purpose to disable IM on lock screen

Recent GtkIMContext has "input-purpose" property, which can be used to check if the target widget is a password entry, in a more reliable way.

BUG=none
R=Shawn.P.Huang@gmail.com

Review URL: https://codereview.appspot.com/7064059
client/gtk2/ibusimcontext.c