403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/Xlib/ext/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/Xlib/ext/__pycache__/xinerama.cpython-311.pyc
�

J9�c��X�dZddlmZmZdZGd�dej��Zd�ZGd�dej��Zd	�Z	Gd
�dej��Z
d�ZGd
�dej��Zd�Z
Gd�dej��Zd�ZGd�dej��Zd�ZGd�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���eZdZejejd��ejd��ej��ejd��ejd��ejd����Z	ejej
��ejd��ejd��ej��ejd��ejd��ejd����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.pyrr+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�Frrc�l�t|j|j�t��dd���S)Nr)�displayrr	r
)rr �get_extension_major�extname��selfs r�
query_versionr%?s6�����#�|�?�?��H�H�&'�&'�)�)�)�)rc
�p�eZdZejejd��ejd��ej��ejd����Z	ejej
��ejd��ejd��ej
��ejd��ejd����ZdS)�GetStaterr�window�stater
rN)rrrrrrrr�Windowrr�Boolrrrrrrrr'r'Fs��������r�y���������	�!����������	�(���	
�
�H��R�Y��������������	�#�$�$��������	�(������r�
�
�

�
�F�F�Frr'c�t�t|j|j�t��|j���S�N)r rr()r'r r!r"�idr#s r�	get_stater/Vs5���D�L��<�;�;�G�D�D��7����rc
�p�eZdZejejd��ejd��ej��ejd����Z	ejej
��ejd��ejd��ej��ejd��ej
d����ZdS)�GetScreenCountrrr(�screen_countr
rN)rrrrrrrrr*rrrrrrrrrr1r1]s��������r�y���������	�!����������	�(���	
�
�H��R�Y���������� � ���	�#�$�$��������	�(������r�
�
�

�
�F�F�Frr1c�t�t|j|j�t��|j���Sr-)r1r r!r"r.r#s r�get_screen_countr4ms5���$�,�!%��!A�!A�'�!J�!J�!%�����rc
���eZdZejejd��ejd��ej��ejd��ej	d����Z
ejej��ejd��ej
d��ej	d��ej	d��ej	d	��ejd��ej	d��ejd
���	�	ZdS)�
GetScreenSizer�r(�screenrr
�length�width�height�N)rrrrrrrrr*�Card32rrrrrrrrr6r6ts��������r�y���������	�!����������	�(�����	�(���
�
�H��R�Y���������q�	�	���	�#�$�$���	�(�����	�'�����	�(�����	�(�����	�(������q�	�	�

�

�F�F�Frr6c�v�t|j|j�t��|j|���S)z+Returns the size of the given screen number)r rr(r8)r6r r!r"r.)r$�	screen_nos  r�get_screen_sizer@�s8����� $�� @� @�� I� I� $�� )����rc
�R�eZdZejejd��ejd��ej����Zejej	��ej
d��ejd��ej��ej
d��ej
d����ZdS)�IsActiver�rr
r)rN)rrrrrrrrrrrrrr=rrrrrBrB�s��������r�y���������	�!��������
�
�H�
�R�Y���������q�	�	���	�#�$�$��������	�'������r�
�
�

�
�F�F�FrrBc�v�t|j|j�t�����}|jS�N)r r)rBr r!r"r))r$�rs  r�	is_activerG�s6�������8�8��A�A�	�	�	�A�
�7�Nrc�|�eZdZejejd��ejd��ej����Zejej	��ej
d��ejd��ej��ej
d��ej
d��ejdej����ZdS)	�QueryScreensr�rr
�numberr�screensN)rrrrrrrrrrrrrr=�Listr�	RectanglerrrrrIrI�s��������r�y���������	�!��������
�
�H�
�R�Y���������q�	�	���	�#�$�$��������	�(������r�
�
����	�7�,�-�-�
�
�F�F�FrrIc�h�t|j|j�t�����SrE)rIr r!r"r#s r�
query_screensrP�s0�����#�|�?�?��H�H����rc	�R�eZdZejejd��ejd��ej��ejd����Z	ejej
��ejd��ejd��ej
��ejd����ZdS)�GetInforrC�visualrr
r(N)rrrrrrrrr=rrrrrr*rrrrrRrR�s��������r�y���������	�!����������	�(���	
�
�H��R�Y���������q�	�	���	�#�$�$��������	�(���
�
�F�F�FrrRc�n�t|j|j�t��|���}dS)N)r rrS)rRr r!r")r$rSrFs   r�get_inforU�s4������L�4�4�W�=�=��	�	�	�A�A�Arc��|�ddt��|�ddt��|�ddt��|�ddt��|�ddt
��|�ddt��|�dd	t��dS)
Nr �xinerama_query_versionr(�xinerama_get_state�xinerama_get_screen_count�xinerama_get_screen_size�xinerama_is_active�xinerama_query_screens�xinerama_get_info)�extension_add_methodr%r/r4r@rGrPrU)�disp�infos  r�initra�s������i�)A�=�Q�Q�Q����h�(<�i�H�H�H����h�(C�EU�V�V�V����h�(B�O�T�T�T����i�)=�y�I�I�I����i�)A�=�Q�Q�Q����i�)<�h�G�G�G�G�GrN)�__doc__�
Xlib.protocolrrr"�ReplyRequestrr%r'r/r1r4r6r@rBrGrIrPrRrUrarrr�<module>res���.I�I�&�%�%�%�%�%�%�%�
�������2�?����()�)�)�
�
�
�
�
�r��
�
�
� ���
�
�
�
�
�R�_�
�
�
� ���
�
�
�
�
�B�O�
�
�
�(���

�

�

�

�

�r��

�

�

����
�
�
�
�
�2�?�
�
�
� ���
�
�
�
�
�b�o�
�
�
� ���
H�H�H�H�Hr

Youez - 2016 - github.com/yon3zu
LinuXploit