summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-06-11 10:42:24 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-06-11 10:52:20 +0200
commit23803b6e5ce393239c6b3de8df1aa9bee84dd61c (patch)
treee85a7ffe4a6c0cd4e11e1153de0f5e872ce139f3 /LICENSE
parent609a79dc11fcb6eddfe380e0c6db72021d055c85 (diff)
downloadqemu-gtk-updates.tar.gz
Unbreak -no-quit for GTK, validate SDL optionsgtk-updates
Certain options (-no-frame, -alt-grab, -ctrl-grab) only make sense with SDL. When compiling without SDL, these options (and -no-quit) print an error message and exit qemu. In case QEMU is compiled with SDL support, the three aforementioned options still do not make sense with other display types. This patch addresses that issue by printing a warning. I have chosen not to exit QEMU afterwards because having the option is not harmful and before this patch it would be ignored anyway. By delaying the sanity check from compile-time with some ifdefs to run-time, -no-quit is now also properly supported when compiling without SDL. Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions