1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

vo_x11_classhint name argument should be const, since we pass string constants there.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30125 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-12-27 14:19:48 +00:00
parent 467013ecdc
commit a5ee26b559
2 changed files with 2 additions and 2 deletions

View File

@ -733,7 +733,7 @@ void vo_x11_decoration(Display * vo_Display, Window w, int d)
}
}
void vo_x11_classhint(Display * display, Window window, char *name)
void vo_x11_classhint(Display * display, Window window, const char *name)
{
XClassHint wmClass;
pid_t pid = getpid();

View File

@ -63,7 +63,7 @@ void vo_uninit( void );
void vo_hidecursor ( Display* , Window );
void vo_showcursor( Display *disp, Window win );
void vo_x11_decoration( Display * vo_Display,Window w,int d );
void vo_x11_classhint( Display * display,Window window,char *name );
void vo_x11_classhint( Display * display,Window window,const char *name );
void vo_x11_nofs_sizepos(int x, int y, int width, int height);
void vo_x11_sizehint( int x, int y, int width, int height, int max );
int vo_x11_check_events(Display *mydisplay);