Revision 58fc096c

b/qemu-options.hx
647 647
curses/ncurses interface.  Nothing is displayed in graphical mode.
648 648
ETEXI
649 649

  
650
#ifdef CONFIG_SDL
651 650
DEF("no-frame", 0, QEMU_OPTION_no_frame,
652 651
    "-no-frame       open SDL window without a frame and window decorations\n",
653 652
    QEMU_ARCH_ALL)
654
#endif
655 653
STEXI
656 654
@item -no-frame
657 655
@findex -no-frame
......
660 658
workspace more convenient.
661 659
ETEXI
662 660

  
663
#ifdef CONFIG_SDL
664 661
DEF("alt-grab", 0, QEMU_OPTION_alt_grab,
665 662
    "-alt-grab       use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)\n",
666 663
    QEMU_ARCH_ALL)
667
#endif
668 664
STEXI
669 665
@item -alt-grab
670 666
@findex -alt-grab
671 667
Use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt).
672 668
ETEXI
673 669

  
674
#ifdef CONFIG_SDL
675 670
DEF("ctrl-grab", 0, QEMU_OPTION_ctrl_grab,
676 671
    "-ctrl-grab      use Right-Ctrl to grab mouse (instead of Ctrl-Alt)\n",
677 672
    QEMU_ARCH_ALL)
678
#endif
679 673
STEXI
680 674
@item -ctrl-grab
681 675
@findex -ctrl-grab
682 676
Use Right-Ctrl to grab mouse (instead of Ctrl-Alt).
683 677
ETEXI
684 678

  
685
#ifdef CONFIG_SDL
686 679
DEF("no-quit", 0, QEMU_OPTION_no_quit,
687 680
    "-no-quit        disable SDL window close capability\n", QEMU_ARCH_ALL)
688
#endif
689 681
STEXI
690 682
@item -no-quit
691 683
@findex -no-quit
692 684
Disable SDL window close capability.
693 685
ETEXI
694 686

  
695
#ifdef CONFIG_SDL
696 687
DEF("sdl", 0, QEMU_OPTION_sdl,
697 688
    "-sdl            enable SDL\n", QEMU_ARCH_ALL)
698
#endif
699 689
STEXI
700 690
@item -sdl
701 691
@findex -sdl
b/vl.c
2625 2625
            case QEMU_OPTION_sdl:
2626 2626
                display_type = DT_SDL;
2627 2627
                break;
2628
#else
2629
            case QEMU_OPTION_no_frame:
2630
            case QEMU_OPTION_alt_grab:
2631
            case QEMU_OPTION_ctrl_grab:
2632
            case QEMU_OPTION_no_quit:
2633
            case QEMU_OPTION_sdl:
2634
                fprintf(stderr, "SDL support is disabled\n");
2635
                exit(1);
2628 2636
#endif
2629 2637
            case QEMU_OPTION_pidfile:
2630 2638
                pid_file = optarg;

Also available in: Unified diff