mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gl/x11: store the correct dimension from the resize events
small typo s/width/height/
This commit is contained in:
parent
e98addcc31
commit
1625f74632
1 changed files with 2 additions and 2 deletions
|
@ -571,7 +571,7 @@ gst_gl_window_x11_handle_event (GstGLWindowX11 * window_x11)
|
||||||
event.xconfigure.height);
|
event.xconfigure.height);
|
||||||
|
|
||||||
window_x11->current_width = event.xconfigure.width;
|
window_x11->current_width = event.xconfigure.width;
|
||||||
window_x11->current_height = event.xconfigure.width;
|
window_x11->current_height = event.xconfigure.height;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -599,7 +599,7 @@ gst_gl_window_x11_handle_event (GstGLWindowX11 * window_x11)
|
||||||
}
|
}
|
||||||
|
|
||||||
window_x11->current_width = event.xexpose.width;
|
window_x11->current_width = event.xexpose.width;
|
||||||
window_x11->current_height = event.xexpose.width;
|
window_x11->current_height = event.xexpose.height;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VisibilityNotify:
|
case VisibilityNotify:
|
||||||
|
|
Loading…
Reference in a new issue