diff options
author | phintuka <phintuka> | 2009-08-19 16:58:58 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-08-19 16:58:58 +0000 |
commit | 1e446c4b85418bc901bcb34ea12b81d2cbf73cf6 (patch) | |
tree | 3c84fd0a76d86fb215b9652c7914ee50016645f4 | |
parent | cc2378eb02bcd218c7b66d1857591f5126663675 (diff) | |
download | xineliboutput-1e446c4b85418bc901bcb34ea12b81d2cbf73cf6.tar.gz xineliboutput-1e446c4b85418bc901bcb34ea12b81d2cbf73cf6.tar.bz2 |
Inform VDR side about window size changes
-rw-r--r-- | xine_sxfe_frontend.c | 8 |
1 files changed, 7 insertions, 1 deletions
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; |