From: Daniel Caujolle-B. <f1...@us...> - 2002-11-26 01:11:25
|
Update of /cvsroot/xine/xine-ui/src/xitk In directory sc8-pr-cvs1:/tmp/cvs-serv5761 Modified Files: control.c event_sender.c kbindings.c mediamark.c panel.c playlist.c setup.c stream_infos.c viewlog.c Log Message: Try to fix Thibaut X problems Index: control.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/control.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -r1.71 -r1.72 --- control.c 23 Nov 2002 02:40:38 -0000 1.71 +++ control.c 26 Nov 2002 01:11:21 -0000 1.72 @@ -681,6 +681,9 @@ control->running = 1; control_raise_window(); + while(!xitk_is_window_visible(gGui->display, control->window)) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, control->window, RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: event_sender.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/event_sender.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- event_sender.c 23 Nov 2002 02:40:38 -0000 1.8 +++ event_sender.c 26 Nov 2002 01:11:21 -0000 1.9 @@ -700,6 +700,9 @@ eventer->move_forced = 0; event_sender_raise_window(); + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(eventer->xwin))) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(eventer->xwin), RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: kbindings.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/kbindings.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- kbindings.c 23 Nov 2002 02:40:38 -0000 1.59 +++ kbindings.c 26 Nov 2002 01:11:21 -0000 1.60 @@ -2164,6 +2164,9 @@ kbedit->running = 1; kbedit_raise_window(); + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(kbedit->xwin))) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(kbedit->xwin), RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: mediamark.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/mediamark.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- mediamark.c 26 Nov 2002 00:05:07 -0000 1.16 +++ mediamark.c 26 Nov 2002 01:11:21 -0000 1.17 @@ -1440,6 +1440,9 @@ mmkeditor->running = 1; mmkeditor_set_mmk(mmk); mmk_editor_raise_window(); + + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(mmkeditor->xwin))) + xine_usec_sleep(5000); XLockDisplay(gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(mmkeditor->xwin), RevertToParent, CurrentTime); Index: panel.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/panel.c,v retrieving revision 1.135 retrieving revision 1.136 diff -u -r1.135 -r1.136 --- panel.c 23 Nov 2002 02:40:38 -0000 1.135 +++ panel.c 26 Nov 2002 01:11:21 -0000 1.136 @@ -1177,6 +1177,9 @@ pthread_create(&panel->slider_thread, &pth_attrs, slider_loop, NULL); } + while(!xitk_is_window_visible(gGui->display, gGui->panel_window)) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, gGui->panel_window, RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: playlist.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/playlist.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- playlist.c 25 Nov 2002 01:51:59 -0000 1.84 +++ playlist.c 26 Nov 2002 01:11:21 -0000 1.85 @@ -1108,6 +1108,9 @@ playlist_raise_window(); + while(!xitk_is_window_visible(gGui->display, playlist->window)) + xine_usec_sleep(5000); + XLockDisplay(gGui->display); XSetInputFocus(gGui->display, playlist->window, RevertToParent, CurrentTime); XUnlockDisplay(gGui->display); Index: setup.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/setup.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- setup.c 23 Nov 2002 02:40:39 -0000 1.58 +++ setup.c 26 Nov 2002 01:11:21 -0000 1.59 @@ -1184,6 +1184,9 @@ setup->running = 1; setup_raise_window(); + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(setup->xwin))) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(setup->xwin), RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: stream_infos.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/stream_infos.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- stream_infos.c 25 Nov 2002 03:25:17 -0000 1.20 +++ stream_infos.c 26 Nov 2002 01:11:21 -0000 1.21 @@ -1017,6 +1017,10 @@ sinfos->running = 1; stream_infos_raise_window(); + + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(sinfos->xwin))) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(sinfos->xwin), RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); Index: viewlog.c =================================================================== RCS file: /cvsroot/xine/xine-ui/src/xitk/viewlog.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- viewlog.c 23 Nov 2002 02:40:39 -0000 1.31 +++ viewlog.c 26 Nov 2002 01:11:21 -0000 1.32 @@ -501,6 +501,10 @@ viewlog->running = 1; viewlog_raise_window(); + + while(!xitk_is_window_visible(gGui->display, xitk_window_get_window(viewlog->xwin))) + xine_usec_sleep(5000); + XLockDisplay (gGui->display); XSetInputFocus(gGui->display, xitk_window_get_window(viewlog->xwin), RevertToParent, CurrentTime); XUnlockDisplay (gGui->display); |