← Back
Editing: xinerama.cpython-311.pyc
� J9�c � �X � d Z ddlmZmZ dZ G d� dej � � Zd� Z G d� dej � � Zd � Z G d � dej � � Z d� Z G d � dej � � Zd� Z G d� dej � � Zd� Z G d� dej � � Zd� Z G d� dej � � Zd� Zd� ZdS )a� Xinerama - provide access to the Xinerama extension information. There are at least there different - and mutually incomparable - Xinerama extensions available. This uses the one bundled with XFree86 4.6 and/or Xorg 6.9 in the ati/radeon driver. It uses the include files from that X distribution, so should work with it as well. I provide code for the lone Sun 1.0 request that isn't part of 1.1, but this is untested because I don't have a server that implements it. The functions loosely follow the libXineram functions. Mostly, they return an rq.Struct in lieu of passing in pointers that get data from the rq.Struct crammed into them. The exception is isActive, which returns the state information - because that's what libXinerama does.� )�rq�structs�XINERAMAc �� � 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_version� � �sequence_number� N)�__name__� __module__�__qualname__r �Struct�Card8�Opcode� RequestLength�Pad�_request� ReplyCode�Card16�ReplyLength�_reply� � �3/usr/lib/python3/dist-packages/Xlib/ext/xinerama.pyr r + 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 )�displayr r r )r r �get_extension_major�extname��selfs r � query_versionr% ? s6 � ����#�|�?�?��H�H�&'�&'�)� )� )� )r c �p � e Zd Z ej ej d� � ej d� � ej � � ej d� � � � Z ej ej � � ej d� � ej d� � ej � � ej d� � ej d� � � � ZdS )�GetStater r �window�stater r N)r r r r r r r r �Windowr r �Boolr r r r r r r r'