diff options
-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; |