Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Bill Spitzak
Pekka Paalanen wrote: On Thu, 27 Dec 2012 11:36:43 -0200 Tiago Vignatti wrote: Hi. I'm afraid that notification windows and tooltips are quite similar. I don't think so, because... It sounds like the important difference is that the compositor positions these windows. Therefore I woul

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Fri, 04 Jan 2013 15:27:55 +0100 Quentin Glidic wrote: > On 04/01/2013 14:25, Pekka Paalanen wrote: > > This is a good start. > > > > There are some further questions, which might affect the needed > > protocol, just food for thought for the future: > > I’m not a big fan of animations but I u

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Quentin Glidic
On 04/01/2013 14:25, Pekka Paalanen wrote: > This is a good start. > > There are some further questions, which might affect the needed > protocol, just food for thought for the future: I’m not a big fan of animations but I understand people might want it and it should be handled. > - is it the

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2013-01-04 Thread Pekka Paalanen
On Thu, 27 Dec 2012 11:36:43 -0200 Tiago Vignatti wrote: > Hi. I'm afraid that notification windows and tooltips are quite similar. > > I've built tooltip on toytoolkit using set_transient surface type, using > the inactive method (for not giving focus on it). So instead creating a > new surfa

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2012-12-29 Thread Bill Spitzak
I hope and pray this is not just "keep this surface on top" but instead an indication that the compositor should actually move it to some "notification area". You do not need "window classes" to keep windows on top. Please don't do this as it is detrimental to getting proper floating window su

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2012-12-27 Thread Tiago Vignatti
Hi. I'm afraid that notification windows and tooltips are quite similar. I've built tooltip on toytoolkit using set_transient surface type, using the inactive method (for not giving focus on it). So instead creating a new surface type for notification windows, I think you can create a dummy su

[PATCH] protocol: Add wl_shell_surface_set_notification

2012-12-26 Thread Quentin Glidic
Notification surfaces are special surfaces that the user should always be able to see. The compositor is in charge of displaying them to be visible without disturbing the user workflow. --- protocol/wayland.xml | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/protoc