From 1e446c4b85418bc901bcb34ea12b81d2cbf73cf6 Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 19 Aug 2009 16:58:58 +0000 Subject: Inform VDR side about window size changes --- xine_sxfe_frontend.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index edd7650e..10e63870 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.113 2009-07-23 12:54:28 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.114 2009-08-19 16:58:58 phintuka Exp $ * */ @@ -1451,6 +1451,12 @@ static void XConfigureEvent_handler(sxfe_t *this, XConfigureEvent *cev) hud_osd_resize(this, cev->window, cev->width, cev->height); #endif + if (this->x.width != cev->width || this->x.height != cev->height) { + char str[128]; + snprintf(str, sizeof(str), "INFO WINDOW %dx%d", this->x.width, this->x.height); + this->x.fe.send_event((frontend_t*)this, str); + } + /* update video window size */ this->x.width = cev->width; this->x.height = cev->height; -- cgit v1.2.3