MouseOver Texts

Marty Jack martyj19 at comcast.net
Sat Feb 5 03:00:07 PST 2011



On 02/05/2011 05:39 AM, Carl-Philip Haensch wrote:
> Hi,
> 
> I noticed that mouseover texts for linux are the same for each app I use. So it seems to be part of the compositor/of X11 to show Hover-Texts.
> 
> In wayland protocol, i did not find a request to show a hover text or something.
> Is there a plan to add such functionality?
> A hover text would at least need the following Attributes:
>  - Text (or img buffer)
>  - Position (or maybe mouse position)
>  - Timeout (compositor site? enable an interrupt request?)
> 
> I think hover boxes and notification panels can be treated the same because they both are placed in an overlay, they both have a content and position/size.
> 
> What do you think about?
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 

In Wayland, drawing is all done by the client.  This would be a function of the toolkit that you are using, say GTK or Qt.  This is how you get those boxes now.  It would not require a new mechanism in the protocol, nor does it require a new mechanism in the X11 protocol.  It is simply a slightly different application of Window.

We do not yet have stable releases of those toolkits that use Wayland as the drawing engine, but they are in process.  Be patient for a short while and your prayers will be answered.


More information about the wayland-devel mailing list