vl: deprecate -no-frame
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180202111022.19269-2-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
afd3397a81
commit
673584473c
@ -2741,6 +2741,13 @@ filesystem test suite. Also it requires the CAP_DAC_READ_SEARCH capability,
|
||||
which is not the recommended way to run QEMU. This backend should not be
|
||||
used and it will be removed with no replacement.
|
||||
|
||||
@subsection -no-frame (since 2.12.0)
|
||||
|
||||
The ``-no-frame'' argument works with SDL 1.2 only. SDL 2.0 lacks
|
||||
support for frameless windows, and the other user interfaces never
|
||||
implemented this in the first place. So this will be removed together
|
||||
with SDL 1.2 support.
|
||||
|
||||
@section qemu-img command line arguments
|
||||
|
||||
@subsection convert -s (since 2.0.0)
|
||||
|
4
vl.c
4
vl.c
@ -2105,6 +2105,8 @@ static DisplayType select_display(const char *p)
|
||||
const char *nextopt;
|
||||
|
||||
if (strstart(opts, ",frame=", &nextopt)) {
|
||||
g_printerr("The frame= sdl option is deprecated, and will be\n"
|
||||
"removed in a future release.\n");
|
||||
opts = nextopt;
|
||||
if (strstart(opts, "on", &nextopt)) {
|
||||
no_frame = 0;
|
||||
@ -3639,6 +3641,8 @@ int main(int argc, char **argv, char **envp)
|
||||
full_screen = 1;
|
||||
break;
|
||||
case QEMU_OPTION_no_frame:
|
||||
g_printerr("The -no-frame switch is deprecated, and will be\n"
|
||||
"removed in a future release.\n");
|
||||
no_frame = 1;
|
||||
break;
|
||||
case QEMU_OPTION_alt_grab:
|
||||
|
Loading…
Reference in New Issue
Block a user