← Back
Editing: screensaver.cpython-311.pyc
� J9�cm � �| � d Z ddlmZ ddlmZmZ dZdZdZdZ dZ dZdZdZ dZ G d� dej � � Zd � Z G d � dej � � Zd� Z G d � dej � � Zd� Z G d� dej � � Zej ej ej dfd�Z G d� dej � � Zdd�Z G d� dej � � Zd� ZdS )ar This extension allows registering the client as an X screensaver, or query information about the current screensaver. For detailed description see any of the following documents. Protocol specification: https://www.x.org/releases/X11R7.7/doc/scrnsaverproto/saver.html XCB Protocol specification: https://cgit.freedesktop.org/xcb/proto/tree/src/screensaver.xml � )�X)�rq�structszMIT-SCREEN-SAVER� � c �� � e Zd Z ej ej d� � ej d� � ej � � ej d� � ej d� � ej d� � � � Z ej ej � � ej d� � ej d� � ej � � ej d� � ej d� � ej d� � � � Z d S ) �QueryVersion�opcoder � major_version� minor_versionr r �sequence_number� N)�__name__� __module__�__qualname__r �Struct�Card8�Opcode� RequestLength�Pad�_request� ReplyCode�Card16�ReplyLength�_reply� � �6/usr/lib/python3/dist-packages/Xlib/ext/screensaver.pyr r 4 s� � � � � � ��r�y��������� �!������������!�!�����!�!����q� � � � �H� �R�Y��B�L�N�N��B�F�1�I�I��B�I�'�(�(��B�N����B�I�o�&�&��B�I�o�&�&��B�F�2�J�J�� �F�F�Fr r c �l � t | j | j � t � � dd�� � S )Nr r )�displayr r r )r r �get_extension_major�extname��selfs r � query_versionr% H s6 � ����#�|�?�?��H�H�&'�&'�)� )� )� )r c �� � e Zd Z ej ej d� � ej d� � ej � � ej d� � � � Z ej ej � � ej d� � ej d� � ej � � ej d� � ej d� � ej d� � ej d � � ej d � � ej d� � � � ZdS ) � QueryInfor r �drawable�stater �saver_window�til_or_since�idle� event_mask�kind� N)r r r r r r r r �Drawabler r r r �Window�Card32r r r r r r'