On Fri, 2020-06-19 at 10:33 +0200, Sergio Acereda wrote:
> +/**
> + * Fetch titlebar height from handle.
> + *
> + * @param hwnd Handle of the window.
> + * @return titlebar height
> + */
> +static int
> +calc_titlebar_height(HWND hwnd) {
> +TITLEBARINFOEX tinfo;
> +tinfo.cbSize =
On Fri, Jun 19, 2020 at 10:33:00 +0200, Sergio Acereda wrote:
> +static int
> +calc_titlebar_height(HWND hwnd) {
Nit: the opening bracket of a function belongs in the next line.
> GetClientRect(hwnd, _rect);
> +if (gdigrab->client_only) {
> +int cxborder =
---
libavdevice/gdigrab.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c
index f406fa..b09c88d94d 100644
--- a/libavdevice/gdigrab.c
+++ b/libavdevice/gdigrab.c
@@ -52,6 +52,7 @@ struct gdigrab {
int