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__/composite.cpython-311.pyc
�

J9�c�!���dZddlmZddlmZdZdZdZGd�dej��Z	d�Z
Gd	�d
ej��Zd d�Z
Gd
�dej��Zd d�ZGd�dej��Zd d�ZGd�dej��Zd d�ZGd�dej��Zd d�ZGd�dej��Zd d�ZGd�dej��Zd�Zd�ZdS)!a�Composite extension, allowing windows to be rendered to off-screen
storage.

For detailed description, see the protocol specification at
http://freedesktop.org/wiki/Software/CompositeExt

By itself this extension is not very useful, it is intended to be used
together with the DAMAGE and XFIXES extensions.  Typically you would
also need RENDER or glX or some similar method of creating fancy
graphics.
�)�rq)�drawable�	Composite�c��eZdZejejd��ejd��ej��ejd��ejd����Z	ejej
��ejd��ejd��ej
��ejd��ejd��ejd����ZdS)	�QueryVersion�opcoder�
major_version�
minor_versionr�sequence_number�N)�__name__�
__module__�__qualname__r�Struct�Card8�Opcode�
RequestLength�Card32�_request�	ReplyCode�Pad�Card16�ReplyLength�_reply���4/usr/lib/python3/dist-packages/Xlib/ext/composite.pyrr,s��������r�y��B�H�X����B�I�a�L�L��B�����B�I�o�&�&��B�I�o�&�&���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�)�displayr	r
r)rr!�get_extension_major�extname��selfs r�
query_versionr&?s7����,���1�1�'�:�:���	
�
�
�
rc���eZdZejejd��ejd��ej��ejd��ej	dde
ef��ejd����Z
dS)�RedirectWindowr	r�window�update�N�rrrrrrrr�Window�Set�RedirectAutomatic�RedirectManualrrrrrr(r(H��������r�y���������	�!����������	�(������x��.��?�@�@����q�	�	�

�
�H�H�Hrr(Nc�r�t|j||j�t��||���dS)zNRedirect the hierarchy starting at this window to off-screen
    storage.
    �r!�onerrorr	r)r*N�r(r!r"r#�r%r*r4s   r�redirect_windowr7RsE���T�\�$� �L�<�<�W�E�E� �"�	�����rc���eZdZejejd��ejd��ej��ejd��ej	dde
ef��ejd����Z
dS)�RedirectSubwindowsr	�r)r*rr+Nr,rrrr9r9^r1rr9c�r�t|j||j�t��||���dS)zsRedirect the hierarchies starting at all current and future
    children to this window to off-screen storage.
    r3N)r9r!r"r#r6s   r�redirect_subwindowsr<hsE�����!(� $�� @� @�� I� I� $� &�	�����rc���eZdZejejd��ejd��ej��ejd��ej	dde
ef��ejd����Z
dS)�UnredirectWindowr	r+r)r*rNr,rrrr>r>tr1rr>c�r�t|j||j�t��||���dS)z,Stop redirecting this window hierarchy.
    r3N)r>r!r"r#r6s   r�unredirect_windowr@~sE���t�|�&�"�l�>�>�w�G�G�"�$�	�����rc���eZdZejejd��ejd��ej��ejd��ej	dde
ef��ejd����Z
dS)�UnredirectSubindowsr	r r)r*rr+Nr,rrrrBrB�r1rrBc�r�t|j||j�t��||���dS)zAStop redirecting the hierarchies of children to this window.
    r3Nr5r6s   r�unredirect_subwindowsrD�sE���T�\�$� �L�<�<�W�E�E� �"�	�����rc	��eZdZejejd��ejd��ej��ejd��ej	d����Z
dS)�CreateRegionFromBorderClipr	��regionr)N)rrrrrrrrrr-rrrrrFrF��i�������r�y���������	�!����������	�(�����	�(���
�
�H�H�HrrFc��|j���}t|j||j�t��||���|S)z�Create a region of the border clip of the window, i.e. the area
    that is not clipped by the parent and any sibling windows.
    )r!r4r	rHr))r!�allocate_resource_idrFr"r#)r%r4�rids   r�create_region_from_border_cliprM�sV��
�,�
+�
+�
-�
-�C���,����1�1�'�:�:���
�
�
�
��Jrc	��eZdZejejd��ejd��ej��ejd��ej	d����Z
dS)�NameWindowPixmapr	�r)�pixmapN)rrrrrrrrr-�PixmaprrrrrOrO�rIrrOc��|j���}t|j||j�t��||���|j�dtj��}||j|d���S)a�Create a new pixmap that refers to the off-screen storage of
    the window, including its border.

    This pixmap will remain allocated until freed whatever happens
    with the window.  However, the window will get a new off-screen
    pixmap every time it is mapped or resized, so to keep track of the
    contents you must listen for these events and get a new pixmap
    after them.
    )r!r4r	r)rQrQr)�owner)r!rKrOr"r#�get_resource_classrrR)r%r4�pid�clss    r�name_window_pixmaprX�s����,�
+�
+�
-�
-�C��t�|�&�"�l�>�>�w�G�G�"�!�	�����,�
)�
)�(�H�O�
D�
D�C��3�t�|�S�!�,�,�,�,rc
�p�eZdZejejd��ejd��ej��ejd����Z	ejej
��ejd��ejd��ej
��ejd��ejd����ZdS)	�GetOverlayWindowr	�r)rr�overlay_window�N)rrrrrrrrr-rrrrrrrrrrZrZ�s��������r�y���������	�!����������	�(���	��H��R�Y���������q�	�	���	�#�$�$��������	�"�#�#����r�
�
�
��F�F�FrrZc�j�t|j|j�t��|���S)z2Return the overlay window of the root window.
    )r!r	r))rZr!r"r#r$s r�get_overlay_windowr_�s5���d�l�'+�|�'G�'G��'P�'P�'+�-�-�-�-rc���|�ddt��|�ddt��|�ddt��|�ddt��|�ddt
��|�ddt��|�dd	t��|�dd
t��dS)Nr!�composite_query_versionr)�composite_redirect_window�composite_redirect_subwindows�composite_unredirect_window�composite_unredirect_subwindows�(composite_create_region_from_border_clip�composite_name_window_pixmap�composite_get_overlay_window)	�extension_add_methodr&r7r<r@rDrMrXr_)�disp�infos  r�initrl�s�����i�7�+�-�-�-�	���h�9�-�/�/�/�	���h�=�1�3�3�3�	���h�;�/�1�1�1�	���h�?�3�5�5�5�	���h�H�<�>�>�>�	���h�<�0�2�2�2�	���h�<�0�2�2�2�2�2r)N)�__doc__�
Xlib.protocolr�Xlib.xobjectrr#r/r0�ReplyRequestrr&�Requestr(r7r9r<r>r@rBrDrFrMrOrXrZr_rlrrr�<module>rrsT��0
�
�������!�!�!�!�!�!�
�����������2�?����&
�
�
�
�
�
�
�
�R�Z�
�
�
�	�	�	�	�
�
�
�
�
���
�
�
�	�	�	�	�
�
�
�
�
�r�z�
�
�
�����
�
�
�
�
�"�*�
�
�
�����
�
�
�
�
���
�
�
�����$
�
�
�
�
�r�z�
�
�
�-�-�-�-�,�����r����� -�-�-�2�2�2�2�2r

Youez - 2016 - github.com/yon3zu
LinuXploit