On Thu, Dec 18, 2008 at 02:51:52PM +0100, Nicolas Mailhot wrote: > I hope that when XI and XKB are reworked a "language" property will be > added to the protocol. > > Right now many apps try to infer the language being written from the > xkb layout in use (for on the fly spellchecking, activation of the > correct locl font features, etc) and since the same layout can be used > to write different languages the heuristic breaks badly. > > MS got it write when they made layout and language two different > properties apps could query.
Ehm, you could do it as a per-window property (just walk up the tree until you find one, be it on a subwindow, the top-level app window, or the default on the root window), but it's nothing the X server knows about; strictly a client issue. Cheers, Daniel
signature.asc
Description: Digital signature
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
