aPZddlZddlmZejeZdZGddeZdS)N)AbstractDisplayXephyrc6eZdZdZdddddgddfd Zd Zd ZdS) XephyrDisplayzf Xephyr wrapper Xephyr is an X server outputting to a window on a pre-existing X display )iiblackF TNc |||_||_||_||_t j|t ||||dS)z4 :param bgcolor: 'black' or 'white' ) use_xauthretries extra_argsmanage_global_envN) _color_depth_size_bgcolor_parentr__init__PROGRAM) selfsize color_depthbgcolorr r r rparents /srv/buildsys-work-dir/castor/build_node/builder-2/WGSG1/unpkd_srcs/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyvirtualdisplay/xephyr.pyrzXephyrDisplay.__init__sW(     !/       cd|v|_dS)N -resizeable)_has_resizeable)rhelptexts r _check_flagszXephyrDisplay._check_flags-s,8rc ptg|jr d|jgngztdd|jddt t t|j|j gzgz}|j r|dt |j gz }n ||j gz }|j r|dgz }|S) Nz-parentz-brz-wr)rwhitez-screenxz -displayfdr)rrdictrjoinmapstrlistrr_has_displayfd _pipe_wfdnew_display_varr)rcmds r_cmdzXephyrDisplay._cmd0s -1L@ 4<((b B 5...t}=S$tz"2"2d6G5H"HIIJJ      * L#dn"5"56 6CC D() )C   # M? "C r)__name__ __module__ __qualname____doc__rr r-rrrr sj    8999rr)logging pyvirtualdisplay.abstractdisplayr getLoggerr.logrrr2rrr7sk<<<<<<g!! 99999O99999r