]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout_display.h
Protect XInitThreads() with a global lock
[vlc] / include / vlc_vout_display.h
index 6f5b35f2eb94223fd3685df862e1fc49ee4ee088..9408968b7b5facfe233719bae47b9c9969ef5217 100644 (file)
@@ -124,6 +124,7 @@ typedef struct {
     bool has_double_click;    /* Is double-click generated */
     bool has_hide_mouse;      /* Is mouse automatically hidden */
     bool has_pictures_invalid;/* Will VOUT_DISPLAY_EVENT_PICTURES_INVALID be used */
+    bool has_event_thread;    /* Will events (key at least) be emitted using an independant thread */
 } vout_display_info_t;
 
 /**
@@ -389,6 +390,10 @@ static inline vout_window_t *vout_display_NewWindow(vout_display_t *vd, const vo
 {
     return vd->owner.window_new(vd, cfg);
 }
+/**
+ * Deletes a window created by vout_display_NewWindow if window is non NULL
+ * or any unused windows otherwise.
+ */
 static inline void vout_display_DeleteWindow(vout_display_t *vd,
                                              vout_window_t *window)
 {