Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure coords for fullscreen are initialized to something sensible…

  • Loading branch information...
commit 464b9ee133d5a925af796291955bcfc9bbf03967 1 parent 0cddff3
mikamika authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/xfullscreen.c
View
4 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;
Please sign in to comment.
Something went wrong with that request. Please try again.