diff options
author | phintuka <phintuka> | 2010-05-21 12:16:25 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-21 12:16:25 +0000 |
commit | e73e08fe5b008413b0088cfc656ae469232daa93 (patch) | |
tree | ab5575e6ca16e216218a0f31bc807d086c71ec42 | |
parent | 9828fc3cb075f9a412320743a4f1b12ce698cea3 (diff) | |
download | xineliboutput-e73e08fe5b008413b0088cfc656ae469232daa93.tar.gz xineliboutput-e73e08fe5b008413b0088cfc656ae469232daa93.tar.bz2 |
Use function pointer for full screen toggle
-rw-r--r-- | xine_sxfe_frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index 14d6eb34..de744cf0 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.118 2010-05-21 12:01:53 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.119 2010-05-21 12:16:25 phintuka Exp $ * */ @@ -1548,7 +1548,7 @@ static void XButtonEvent_handler(sxfe_t *this, XButtonEvent *bev) /* Double-click toggles between fullscreen and windowed mode */ if(bev->time - this->prev_click_time < DOUBLECLICK_TIME) { /* Toggle fullscreen */ - sxfe_toggle_fullscreen((fe_t*)this); + this->x.toggle_fullscreen_cb(&this->x); this->prev_click_time = 0; /* don't react to third click ... */ } else { this->prev_click_time = bev->time; |