[vlc-commits] xcb/window: remove no longer used value

Rémi Denis-Courmont git at videolan.org
Sun Dec 2 19:15:24 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec  2 12:01:09 2018 +0200| [dbcf3e9d58cdaca05d03a0a34d2c615d77ea8be9] | committer: Rémi Denis-Courmont

xcb/window: remove no longer used value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbcf3e9d58cdaca05d03a0a34d2c615d77ea8be9
---

 modules/video_output/xcb/window.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index a4d19ae9e1..f808926eea 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -65,8 +65,6 @@ typedef struct
         uint8_t base;
     } xkb;
 #endif
-
-    bool embedded;
 } vout_window_sys_t;
 
 #ifdef HAVE_XKBCOMMON
@@ -590,7 +588,6 @@ static int Open (vout_window_t *wnd, const vout_window_cfg_t *cfg)
     vout_window_sys_t *p_sys = malloc (sizeof (*p_sys));
     if (p_sys == NULL)
         return VLC_ENOMEM;
-    p_sys->embedded = false;
 
     /* Connect to X */
     char *display = var_InheritString (wnd, "x11-display");
@@ -859,7 +856,6 @@ static int EmOpen (vout_window_t *wnd, const vout_window_cfg_t *cfg)
     if (p_sys == NULL || xcb_connection_has_error (conn))
         goto error;
 
-    p_sys->embedded = true;
     wnd->type = VOUT_WINDOW_TYPE_XID;
     wnd->display.x11 = NULL;
     wnd->handle.xid = window;



More information about the vlc-commits mailing list