Commit 6721871c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout_window: make zero an error value for window type

parent a6f0eddb
......@@ -41,6 +41,7 @@ typedef struct vout_window_sys_t vout_window_sys_t;
* Window handle type
*/
enum {
VOUT_WINDOW_TYPE_INVALID=0,
VOUT_WINDOW_TYPE_XID,
VOUT_WINDOW_TYPE_HWND,
VOUT_WINDOW_TYPE_NSOBJECT,
......@@ -66,7 +67,7 @@ typedef struct {
bool is_standalone;
/* Window handle type */
int type;
unsigned type;
/* Window position hint */
int x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment