mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-05 07:50:40 +02:00
compositor: Allow protocol to be displayed when asked for, even if we're not supplying debug argument
This wasn't intentional it just kept the way it was done before. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reported-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
abec512883
commit
91dffa37a6
1 changed files with 4 additions and 5 deletions
|
|
@ -3277,12 +3277,11 @@ wet_main(int argc, char *argv[])
|
|||
"Wayland protocol dump for all clients.\n",
|
||||
NULL, NULL, NULL);
|
||||
|
||||
if (debug_protocol) {
|
||||
protologger = wl_display_add_protocol_logger(display,
|
||||
protocol_log_fn,
|
||||
NULL);
|
||||
protologger = wl_display_add_protocol_logger(display,
|
||||
protocol_log_fn,
|
||||
NULL);
|
||||
if (debug_protocol)
|
||||
weston_compositor_enable_debug_protocol(wet.compositor);
|
||||
}
|
||||
|
||||
weston_compositor_add_debug_binding(wet.compositor, KEY_D,
|
||||
flight_rec_key_binding_handler,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue