Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95202 - xine sets focus incorrectly to root window on exiting
Summary: xine sets focus incorrectly to root window on exiting
Status: RESOLVED DUPLICATE of bug 85733
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 04:48 UTC by Chris Picton
Modified: 2005-06-06 04:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Picton 2005-06-06 04:48:19 UTC
When xine finishes playing a video, it sets the focus to the root window.  This causes mythfrontend to loose focus, and so I can no longer use my remote to control mythtv.

The following patch to xine-ui fixes this issue
------------
diff -uNr xine-ui-0.99.2/src/xitk/event.c xine-ui-0.99.2.mike/src/xitk/event.c
--- xine-ui-0.99.2/src/xitk/event.c     2004-07-02 17:41:02.000000000 -0400
+++ xine-ui-0.99.2.mike/src/xitk/event.c        2005-01-12 19:12:16.016566055 -0500
@@ -1777,12 +1777,12 @@
     mediamark_save_mediamarks(buffer);
   }

-  { /* Give focus to the ROOT window, to get C-Tab working */
-    Window rootwindow, wparent;
-
-    if((rootwindow = xitk_get_desktop_root_window(gGui->video_display, gGui->video_screen, &wparent)) != None)
-      try_to_set_input_focus(rootwindow);
-  }
+/*  { /* Give focus to the ROOT window, to get C-Tab working */
+/*    Window rootwindow, wparent; */
+/* */
+/*    if((rootwindow = xitk_get_desktop_root_window(gGui->video_display, gGui->video_screen, &wparent)) != None) */
+/*      try_to_set_input_focus(rootwindow); */
+/*  } */

   gGui->running = 0;
   deinit_session();
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 04:56:53 UTC

*** This bug has been marked as a duplicate of 85733 ***