Re: How to detect (subscribe to) messages that causes screen repaint

2018-07-05 Thread Nikola Radovanovic
Hi,
thank you for the response. I will take a look.

Its a project requirement, so cant do much about it :)

Best regards

On Thu, Jul 5, 2018 at 9:18 PM, Adam Jackson  wrote:

> On Thu, 2018-07-05 at 20:06 +0200, Nikola Radovanovic wrote:
> > Hello,
> > Can someone please point me to some documentation/samples on how to
> > do the following:
> >
> > I have to detect events (messages) that are issued when any of
> > attached screens (one or possibly more of them) will be repainted
> > (partially or completely). So any key press, new window, resize
> > window, mouse move etc.
>
> For updated window content, you want the Damage extension's events. X
> doesn't have globally-available events for mouse motion though, sorry.
>
> > What I am trying is to write a simple VNC viewer (server) for
> > Linux/Android and I have not yet managed to figure out how to
> > subscribe to such events in order to get 'paint' message and affected
> > rectangular area.
>
> I mean, tigervnc already exists, but sure, write another one, why not.
> Do consider reading it though, unix/x0vncserver/*.cxx is pretty much
> what you're describing, including examples of how to register for and
> parse Damage events.
>
> - ajax
>
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to detect (subscribe to) messages that causes screen repaint

2018-07-05 Thread Adam Jackson
On Thu, 2018-07-05 at 20:06 +0200, Nikola Radovanovic wrote:
> Hello,
> Can someone please point me to some documentation/samples on how to
> do the following:
> 
> I have to detect events (messages) that are issued when any of
> attached screens (one or possibly more of them) will be repainted
> (partially or completely). So any key press, new window, resize
> window, mouse move etc.

For updated window content, you want the Damage extension's events. X
doesn't have globally-available events for mouse motion though, sorry.

> What I am trying is to write a simple VNC viewer (server) for
> Linux/Android and I have not yet managed to figure out how to
> subscribe to such events in order to get 'paint' message and affected
> rectangular area.

I mean, tigervnc already exists, but sure, write another one, why not.
Do consider reading it though, unix/x0vncserver/*.cxx is pretty much
what you're describing, including examples of how to register for and
parse Damage events.

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

How to detect (subscribe to) messages that causes screen repaint

2018-07-05 Thread Nikola Radovanovic
Hello,
Can someone please point me to some documentation/samples on how to do the
following:

I have to detect events (messages) that are issued when any of attached
screens (one or possibly more of them) will be repainted (partially or
completely). So any key press, new window, resize window, mouse move etc.

What I am trying is to write a simple VNC viewer (server) for Linux/Android
and I have not yet managed to figure out how to subscribe to such events in
order to get 'paint' message and affected rectangular area.

Thank you in advance
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[ANNOUNCE] libXxf86misc 1.0.4

2018-07-05 Thread Adam Jackson
Several error paths in this library would fail to unlock libX11 when
they returned, which would eventually cause the client to deadlock.
This release fixes that bug.

Adam Jackson (1):
  libXxf86misc 1.0.4

Alan Coopersmith (3):
  Strip trailing whitespace
  configure: Drop AM_MAINTAINER_MODE
  autogen.sh: Honor NOCONFIGURE=1

Egbert Eich (1):
  Add missing UnlockDisplay() and SyncHandle() to some error paths.

git tag: libXxf86misc-1.0.4

https://xorg.freedesktop.org/archive/individual/lib/libXxf86misc-1.0.4.tar.bz2
MD5:  37ad70f8b53b94b550f9290be97fbe2d  libXxf86misc-1.0.4.tar.bz2
SHA1: 2676f1b0df7ca3ed1e01a0a51420c27c25737d02  libXxf86misc-1.0.4.tar.bz2
SHA256: a89c03e2b0f16239d67a2031b9003f31b5a686106bbdb3c797fb88ae472af380  
libXxf86misc-1.0.4.tar.bz2
SHA512: 
1dbd51a51188a060f676b88e5d98809ea355f69933972ceb7721c83289b5bb94c1f7b889baa83209a5ed864e67dd8a4ed62f1393634e97cc99ce36a2cef447fb
  libXxf86misc-1.0.4.tar.bz2
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXxf86misc-1.0.4.tar.bz2.sig

https://xorg.freedesktop.org/archive/individual/lib/libXxf86misc-1.0.4.tar.gz
MD5:  44d31e4e7feec6255c98da58523a9bcc  libXxf86misc-1.0.4.tar.gz
SHA1: a197c7df008aa362cd6db53bd5a6956b4d67fb3b  libXxf86misc-1.0.4.tar.gz
SHA256: 63a68b2fafd03236f9b0135de21976e9194d6d811ca2fd774c13a6b4be576676  
libXxf86misc-1.0.4.tar.gz
SHA512: 
34309e581988eed3417922bd703568873566e170195ad52a89dad70b055101cb254732ecef81ecd2109c6f7529638c00a09b38db1b3b34a84ed8863a2ee5fd2d
  libXxf86misc-1.0.4.tar.gz
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXxf86misc-1.0.4.tar.gz.sig

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[ANNOUNCE] libXScrnSaver 1.2.3

2018-07-05 Thread Adam Jackson
Fixes a 25+-year-old bug in correctly filling in the ::root member of
the ScreenSaverNotify event. 

Adam Jackson (1):
  libXScrnSaver 1.2.3

Alan Coopersmith (3):
  Copy root field from wire event into root, not window, of Xlib event
  configure: Drop AM_MAINTAINER_MODE
  autogen.sh: Honor NOCONFIGURE=1

Daniel Martin (1):
  Fix typo in man page: XScreenSaverSaverRegister()

Emil Velikov (1):
  autogen.sh: use quoted string variables

Mihail Konev (1):
  autogen: add default patch prefix

Peter Hutterer (1):
  autogen.sh: use exec instead of waiting for configure to finish

git tag: libXScrnSaver-1.2.3

https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.3.tar.bz2
MD5:  eeea9d5af3e6c143d0ea1721d27a5e49  libXScrnSaver-1.2.3.tar.bz2
SHA1: 70c791c5755a298ecf1a0823e239a24fa4b2b42f  libXScrnSaver-1.2.3.tar.bz2
SHA256: f917075a1b7b5a38d67a8b0238eaab14acd2557679835b154cf2bca576e89bf8  
libXScrnSaver-1.2.3.tar.bz2
SHA512: 
7ea628324a11b25ee82c7b11c6bf98f37de219354de51c1e29467b5de422669ba1ab121f3b9dc674093c8f3960e93c5d5428122f5539092f79bc8451c768354a
  libXScrnSaver-1.2.3.tar.bz2
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.3.tar.bz2.sig

https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.3.tar.gz
MD5:  6ae51eb64351e11cea281f3a331ac461  libXScrnSaver-1.2.3.tar.gz
SHA1: 15c702b97dc95019b7d49116601673a0d9850d6e  libXScrnSaver-1.2.3.tar.gz
SHA256: 4f74e7e412144591d8e0616db27f433cfc9f45aae6669c6c4bb03e6bf9be809a  
libXScrnSaver-1.2.3.tar.gz
SHA512: 
8f0d1d460027acfd50a312bf3b10407959d5ccbd9e76b319563535ba9038e1195cf0493664f80fd86e61ed037593d43e7b9a4f8f5d1f0c719d42935bf74ad68f
  libXScrnSaver-1.2.3.tar.gz
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXScrnSaver-1.2.3.tar.gz.sig

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[ANNOUNCE] libXinerama 1.1.4

2018-07-05 Thread Adam Jackson
Contains some tiny bugfixes sitting in git unreleased for too long.

Adam Jackson (1):
  libXinerama 1.1.4

Emil Velikov (1):
  autogen.sh: use quoted string variables

Michael Joost (1):
  Remove fallback for _XEatDataWords, require libX11 1.6 for it

Mihail Konev (1):
  autogen: add default patch prefix

Peter Hutterer (1):
  autogen.sh: use exec instead of waiting for configure to finish

Tobias Stoeckmann (1):
  libXinerama: Set number of screens to 0 on error

git tag: libXinerama-1.1.4

https://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.4.tar.bz2
MD5:  0d5f826a197dae74da67af4a9ef35885  libXinerama-1.1.4.tar.bz2
SHA1: 34a1d9908ffbd46805d2357c6b05f5e341a8dc7c  libXinerama-1.1.4.tar.bz2
SHA256: 0008dbd7ecf717e1e507eed1856ab0d9cf946d03201b85d5dcf61489bb02d720  
libXinerama-1.1.4.tar.bz2
SHA512: 
cff777ad942614fbf6bc6d8529f399e62debf3ecbf6cc0694a94e38c022bf929ffd5636fb59f55533c394d89b23af3ea51fa5128927f12a85787e16239330f14
  libXinerama-1.1.4.tar.bz2
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.4.tar.bz2.sig

https://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.4.tar.gz
MD5:  416f5afc64b8d064187b3508081dd194  libXinerama-1.1.4.tar.gz
SHA1: 5d9b9e6a8f92c4588b69c2e5d9597e153f443280  libXinerama-1.1.4.tar.gz
SHA256: 64de45e18cc76b8e703cb09b3c9d28bd16e3d05d5cd99f2d630de2d62c3acc18  
libXinerama-1.1.4.tar.gz
SHA512: 
fa2cc45214cc591da8867dcd7e332312e8d224c390912dc8580f8b15c3c9d8ffc797eee97c20263faf129fbfc6b0d931b6bf10dc04b8ec439b852451886eba75
  libXinerama-1.1.4.tar.gz
PGP:  
https://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.4.tar.gz.sig

- ajax

signature.asc
Description: This is a digitally signed message part
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s