[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-users
Subject:    [MPlayer-users] Fwd:  Slave mode does not qork!!! Help needed!
From:       Bart van Deenen <bart.vandeenen () gmail ! com>
Date:       2008-09-25 13:26:15
Message-ID: 200809251526.15931.bart.vandeenen () gmail ! com
[Download RAW message or body]

Hi

In the containing application, prevent your native window from getting focus. 
Thats what I do from a java application: I create a java awt canvas, get its 
native window id (via a JNI call), and pass that to mplayer. I disable the 
focus for that canvas.         
canvas.setFocusable(false);

Works like a charm, and is a much nicer solution than hacking around with the 
keyboard list

Bart



     
_______________________________________________
MPlayer-users mailing list
MPlayer-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic