Hacked By AnonymousFox
�
�܋fc � �Z � d dl Z d dlmZ e j e� � ZdZ G d� de� � ZdS )� N)�AbstractDisplay�Xephyrc �6 � e Zd ZdZdddddg ddfd �Zd
� Zd� ZdS )�
XephyrDisplayzf
Xephyr wrapper
Xephyr is an X server outputting to a window on a pre-existing X display
)i i � �blackF�
TNc �| � || _ || _ || _ || _ t j | t ||||�� � dS )z4
:param bgcolor: 'black' or 'white'
)� use_xauth�retries�
extra_args�manage_global_envN)�_color_depth�_size�_bgcolor�_parentr �__init__�PROGRAM) �self�size�color_depth�bgcolorr r r
r �parents �h/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyvirtualdisplay/xephyr.pyr zXephyrDisplay.__init__ sW � � (�����
���
����� �����!�/�
�
�
�
�
�
� c � � d|v | _ d S )N�-resizeable)�_has_resizeable)r �helptexts r �_check_flagszXephyrDisplay._check_flags- s � �,��8����r c �p � t g| j r d| j gng z t dd�� � | j dd� t t t | j � � | j gz � � � � gz }| j
r|dt
| j � � gz
}n|| j gz
}| j
r|dgz
}|S ) Nz-parentz-brz-wr)r �whitez-screen�xz
-displayfdr )r r �dictr �join�map�str�listr r �_has_displayfd� _pipe_wfd�new_display_varr )r �cmds r �_cmdzXephyrDisplay._cmd0 s� � � �
� -1�L�@� �4�<�(�(�b�
B�
�5��.�.�.�t�}�=������S�$�t�z�"2�"2�d�6G�5H�"H�I�I�J�J��
� � �� *��L�#�d�n�"5�"5�6�6�C�C��D�(�)�)�C��� #��M�?�"�C��
r )�__name__�
__module__�__qualname__�__doc__r r r- � r r r r
sj � � � � � �� � ��������
�
�
�
�89� 9� 9�� � � � r r )�logging� pyvirtualdisplay.abstractdisplayr � getLoggerr. �logr r r2 r r �<module>r7 sk �� ���� <� <� <� <� <� <��g���!�!��
��9� 9� 9� 9� 9�O� 9� 9� 9� 9� 9r
Hacked By AnonymousFox1.0, Coded By AnonymousFox