From kde-core-devel Mon Jun 28 20:58:31 2010 From: Thomas =?iso-8859-15?q?L=FCbking?= Date: Mon, 28 Jun 2010 20:58:31 +0000 To: kde-core-devel Subject: Re: focus tracking Message-Id: <201006282258.32460.thomas.luebking () web ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=127775884213844 tsts... didn't reply to all, sorry: ----------------------- Am Monday 28 June 2010 schrieb Jeremy Whiting: > On Sun, Jun 27, 2010 at 4:28 AM, Jos Poortvliet > > KMag can zoom in nicely, but does not follow the focus of the cursor > > (only the mouse). This is a major issue. Does anyone know if it is possible to let it follow the cursor? > It is wanted that it follow the text cursor? I don't think that would be > too hard but I doubt it's in there already. text cursors ("I-beam") are a completely client internal concept (esp. with non-native widgets or focus buddies) - to the server there are just some black pixels in a lot of bright pixels :-) Ie. it's known that some kbd input goes to a specific window, but how the window/application is gonna handle this input, including any visual feedback, is a "secret" to anything but the window/app internal logic. So to solve this for both and either, kmag or kwin, i don't think there's any way but adding some sort of protocol (like setting a property on the window about the "active I-beam" local position, the toplevel window with the input focus as well as it's geometry is public info) that still needs to be supported by the toolkits. Thomas ps: i'd happily be wrong if anybody knows better