mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
One more fix for window id with X11.
This commit is contained in:
parent
0e4d2550c2
commit
d430376745
1 changed files with 2 additions and 2 deletions
|
|
@ -994,7 +994,7 @@ static void lpc_apply_video_params(){
|
|||
lpc_video_params.refresh=FALSE;
|
||||
#ifdef HAVE_X11_XLIB_H
|
||||
if (lpc_video_params.wid==0){ // do not manage window if embedded
|
||||
x11_apply_video_params(&lpc_video_params,wid);
|
||||
x11_apply_video_params(&lpc_video_params,(Window)wid);
|
||||
} else {
|
||||
linphone_core_show_video(linphonec, lpc_video_params.show);
|
||||
}
|
||||
|
|
@ -1007,7 +1007,7 @@ static void lpc_apply_video_params(){
|
|||
/*printf("wid=%p pwid=%p\n",wid,pwid);*/
|
||||
if (lpc_preview_params.wid==NULL){ // do not manage window if embedded
|
||||
printf("Refreshing\n");
|
||||
x11_apply_video_params(&lpc_preview_params,pwid);
|
||||
x11_apply_video_params(&lpc_preview_params,(Window)pwid);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue