| Summary: | keys in kmplayer are not recognized (by mplayer) | ||
|---|---|---|---|
| Product: | [Unmaintained] kmplayer | Reporter: | Ami Setton <asetton> |
| Component: | general | Assignee: | Koos Vriezen <koos.vriezen> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ami Setton
2010-11-21 01:06:16 UTC
MPlayer changed the keyboard capturing in r31601 and a few follow up corrections commits.
Here a q&d patch for kmplayer to overcome this (using the expose mask)
--- a/src/viewarea.cpp
+++ b/src/viewarea.cpp
@@ -2240,6 +2240,8 @@ bool ViewArea::x11Event (XEvent *xe) {
}
case XKeyPress: {
const VideoWidgetList::iterator e = video_widgets.end ();
+ if (xe->xkey.send_event)
+ break;
for (VideoWidgetList::iterator i=video_widgets.begin(); i
!= e; ++i)
if ((*i)->clientHandle () == xe->xkey.window &&
static_cast <VideoOutput *>(*i)->inputMask()
& KeyPressMask) {
@@ -2251,6 +2253,11 @@ bool ViewArea::x11Event (XEvent *xe) {
case XK_F:
m_view->fullScreen ();
break;
+ case XK_q:
+ case XK_Q:
+ break;
+ default:
+ XSendEvent (xe->xkey.display,
xe->xkey.window, false, ExposureMask, xe);
}
}
break;
This project is unfortunately no longer maintained. If a new maintainer wants to step up and take care, the project is archived here: https://invent.kde.org/multimedia/kmplayer You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived. Sorry for the inconveniences. |