summaryrefslogtreecommitdiff
path: root/hw/kdrive/ephyr/ephyrinit.c
diff options
context:
space:
mode:
authorMatthew Allum <breakfast@10.am>2005-06-09 16:22:27 +0000
committerMatthew Allum <breakfast@10.am>2005-06-09 16:22:27 +0000
commit92b3775ae8bdd4a84d7e101b36b306fbd3ac17a2 (patch)
tree6a21a2aaefe831939708128305b86ed1c86904d1 /hw/kdrive/ephyr/ephyrinit.c
parent545c082cf9c86f2a809ea6b4dca33643afb0c3d3 (diff)
TSLib fixes. Add fullscreen support to ephyr
Diffstat (limited to 'hw/kdrive/ephyr/ephyrinit.c')
-rw-r--r--hw/kdrive/ephyr/ephyrinit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 45df309f0..2bb3d0b0c 100644
--- a/hw/kdrive/ephyr/ephyrinit.c
+++ b/hw/kdrive/ephyr/ephyrinit.c
@@ -61,6 +61,7 @@ ddxUseMsg (void)
ErrorF("\nXephyr Option Usage:\n");
ErrorF("-parent XID Use existing window as Xephyr root win\n");
ErrorF("-host-cursor Re-use exisiting X host server cursor\n");
+ ErrorF("-fullscreen Attempt to run Xephyr fullscreen\n");
ErrorF("\n");
exit(1);
@@ -87,6 +88,11 @@ ddxProcessArgument (int argc, char **argv, int i)
hostx_use_host_cursor();
return 1;
}
+ else if (!strcmp (argv[i], "-fullscreen"))
+ {
+ hostx_use_fullscreen();
+ return 1;
+ }
else if (argv[i][0] == ':')
{
hostx_set_display_name(argv[i]);