aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-11-26 01:24:28 (GMT)
committerDevin Heitmueller <dheitmueller@kernellabs.com>2009-11-26 01:24:28 (GMT)
commit547c5c9576412f93b6ac81d15359b0eec93db395 (patch)
tree95f51542cd1d025d49a2d09c6e135413ce945029
parentdc3ee06b2b262be30364e0ab36c5b99fdd884ec1 (diff)
djh - include fix for crash from Fedora repo:
http://cvs.fedoraproject.org/viewvc/rpms/tvtime/devel/tvtime-1.0.1-fsbadval.patch?view=log * Thu Mar 06 2008 Tomas Smetana <tsmetana@redhat.com> 1.0.1-8 - fix #235622 - X error when toggling fullscreen
-rw-r--r--src/xfullscreen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfullscreen.c b/src/xfullscreen.c
index 017256b..d6da57d 100644
--- a/src/xfullscreen.c
+++ b/src/xfullscreen.c
@@ -263,6 +263,10 @@ void xfullscreen_get_position( xfullscreen_t *xf, int window_x, int window_y,
int max_area = -1;
int i;
+ *x = xf->heads[ 0 ].x;
+ *y = xf->heads[ 0 ].y;
+ *w = xf->heads[ 0 ].w;
+ *h = xf->heads[ 0 ].h;
for( i = 0; i < xf->nheads; i++ ) {
int head_x1 = xf->heads[ i ].x;
int head_x2 = xf->heads[ i ].x + xf->heads[ i ].w - 1;

Privacy Policy