diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-21 04:09:26 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:47:42 +0300 |
commit | 5f39342e01cbbe6527814724a90124a4ff537721 (patch) | |
tree | 6cc19cb74961941f59633d191ff5c85b7d254ecf /libvo/x11_common.h | |
parent | dd784ca40819125d35a24a258c51e96515f77c75 (diff) | |
download | mpv-5f39342e01cbbe6527814724a90124a4ff537721.tar.bz2 mpv-5f39342e01cbbe6527814724a90124a4ff537721.tar.xz |
x11_common.c: Move function-static variables to struct
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r-- | libvo/x11_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h index 20d8005e81..03d3d5ee73 100644 --- a/libvo/x11_common.h +++ b/libvo/x11_common.h @@ -18,6 +18,10 @@ struct vo_x11_state { unsigned long xv_colorkey; unsigned int xv_port; + unsigned int olddecor; + unsigned int oldfuncs; + XComposeStatus compose_status; + Atom XA_NET_SUPPORTED; Atom XA_NET_WM_STATE; Atom XA_NET_WM_STATE_FULLSCREEN; @@ -65,7 +69,7 @@ extern int vo_mouse_autohide; void vo_x11_init_state(struct vo_x11_state *s); int vo_init(struct vo *vo); void vo_uninit(struct vo_x11_state *x11); -extern void vo_x11_decoration( Display * vo_Display,Window w,int d ); +extern void vo_x11_decoration(struct vo *vo, int d ); void vo_x11_classhint(struct vo *vo, Window window, char *name); void vo_x11_sizehint(struct vo *vo, int x, int y, int width, int height, int max); int vo_x11_check_events(struct vo *vo); |