Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay/__pycache__/xephyr.cpython-311.pyc

�

�܋fc��Z�ddlZddlmZeje��ZdZGd�de��ZdS)�N)�AbstractDisplay�Xephyrc�6�eZdZdZdddddgddfd	�Zd
�Zd�ZdS)�
XephyrDisplayzf
    Xephyr wrapper

    Xephyr is an X server outputting to a window on a pre-existing X display
    )ii��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�bgcolorrrr
r�parents	         �h/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyvirtualdisplay/xephyr.pyrzXephyrDisplay.__init__sW��(�����
���
����� �����!�/�
	
�	
�	
�	
�	
�	
�c��d|v|_dS)N�-resizeable)�_has_resizeable)r�helptexts  r�_check_flagszXephyrDisplay._check_flags-s��,��8����rc�p�tg|jr	d|jgngztdd���|jdd�tt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)rr�dictr�join�map�str�listrr�_has_displayfd�	_pipe_wfd�new_display_varr)r�cmds  r�_cmdzXephyrDisplay._cmd0s����
�-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__rr r-�rrrr
sj����������������
�
�
�
�89�9�9�����rr)�logging� pyvirtualdisplay.abstractdisplayr�	getLoggerr.�logrrr2rr�<module>r7sk������<�<�<�<�<�<��g���!�!��
��9�9�9�9�9�O�9�9�9�9�9r

Hacked By AnonymousFox1.0, Coded By AnonymousFox