Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gavin Pryke
linuxmce
Commits
c87607a4
Commit
c87607a4
authored
Mar 19, 2016
by
phenigma
Browse files
Refs #2412 - additional X event monitoring.
parent
d8cb32cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OMX_Player/OMXPlayerStream.cpp
View file @
c87607a4
...
...
@@ -79,21 +79,21 @@ int OMXPlayerStream::XServerEventProcessor(XEvent &event )
}
*/
/*
case
Expose
:
{
XExposeEvent
*
exposeEvent
=
(
XExposeEvent
*
)
&
event
;
LoggerWrapper::GetInstance()->Write(LV_STATUS, "Expose with count %d", exposeEvent->count);
LoggerWrapper
::
GetInstance
()
->
Write
(
LV_STATUS
,
"
ConfigureNotify:
Expose with count %d"
,
exposeEvent
->
count
);
if
(
exposeEvent
->
count
!=
0
)
break
;
/*
if ( m_pXineVideoOutput )
xine_port_send_gui_data( m_pXineVideoOutput, XINE_GUI_SEND_EXPOSE_EVENT, exposeEvent );
*/
break
;
}
*/
case
ConfigureNotify
:
{
...
...
@@ -102,8 +102,10 @@ int OMXPlayerStream::XServerEventProcessor(XEvent &event )
int
xpos
,
ypos
,
width
,
height
;
Log
(
"ConfigureNotify"
);
string
text
=
"ConfigureNotify - "
+
to_string
(
cev
->
width
)
+
"x"
+
to_string
(
cev
->
height
)
+
" ABOVE: "
+
to_string
(
cev
->
above
);
Log
(
text
);
LoggerWrapper
::
GetInstance
()
->
Write
(
LV_STATUS
,
"ConfigureNotify: %ix%i"
,
cev
->
width
,
cev
->
height
);
width
=
cev
->
width
;
height
=
cev
->
height
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment