src/hmisc/shellexec/xephyr

  Source   Edit

Types

XephyrCommandFlag = enum
  xephyrf_hostCursor, ## set 'cursor acceleration': The host's cursor is
                       ## reused. This is only really there to aid debugging by avoiding
                       ## server paints for the cursor. Performance improvement is negligible.
  xephyrf_Resizeable,       ## Allow the Xephyr window to be resized, even if
                             ## not embedded into a parent window. By default,
                             ## the Xephyr window has a fixed size.
  xephurf_noHostGrab,       ## Disable grabbing the keyboard and mouse.
  xephyrf_Retro,            ## start with classic stipple and cursor
  xephyrf_SwCursor           ## Render cursors in software in Xephyr
  Source   Edit

Consts

xephyrCommandStrings = ["host-cursor", "resizeable", "no-host-grap", "retro",
                        "sw-cursor"]
  Source   Edit

Procs

proc findXephyr(): Option[(Pid, seq[string])] {....raises: [ArgumentError, OSError,
    Exception, ValueError, ShellError, IOError],
    tags: [ShellExecEffect, ExecIOEffect, ReadEnvEffect, RootEffect].}
  Source   Edit
proc start(cmd: XephyrCommand): Process {.
    ...raises: [OSError, Exception, ValueError, ShellError, IOError],
    tags: [ExecIOEffect, ReadEnvEffect, RootEffect, WriteIOEffect].}
  Source   Edit
proc toShellCmd(cmd: XephyrCommand): ShellCmd {....raises: [ValueError], tags: [].}
  Source   Edit

Templates

template withXephyr(body: untyped): untyped
  Source   Edit