Re: [Spice-devel] [PATCH spice-gtk 2/2] widget: use allocation instead of window size

2016-03-23 Thread Marc-André Lureau
Hi - Original Message - > Hi, > > This fixes the "top border" in spicy. > > considering how the allocation is used I would prefer some helper > function to get the width and height. > I will replace it with gtk_widget_get_allocated_{width,height} (don't know how I missed it)

Re: [Spice-devel] [PATCH spice-gtk 2/2] widget: use allocation instead of window size

2016-03-23 Thread Pavel Grunt
Hi, This fixes the "top border" in spicy. considering how the allocation is used I would prefer some helper function to get the width and height.  Thanks, Pavel On Tue, 2016-03-22 at 19:27 +0100, Marc-André Lureau wrote: > Since spice-gtk 57df040cc, the SpiceDisplay no longer forces its own > w

[Spice-devel] [PATCH spice-gtk 2/2] widget: use allocation instead of window size

2016-03-22 Thread Marc-André Lureau
Since spice-gtk 57df040cc, the SpiceDisplay no longer forces its own window. Get allocation instead of window size. Signed-off-by: Marc-André Lureau --- src/Makefile.am | 1 - src/gtk-compat.h | 31 --- src/spice-gtk-session.c | 1 - src/spice-widg