src/keyboard.c: reflow comment to shorten line

This commit is contained in:
Johan Malm 2022-08-30 15:43:57 +01:00
parent e1467b9aac
commit ffb2efe733

View file

@ -144,9 +144,13 @@ handle_compositor_keybindings(struct wl_listener *listener,
if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) { if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
for (int i = 0; i < nsyms; i++) { for (int i = 0; i < nsyms; i++) {
if (syms[i] == XKB_KEY_Escape) { if (syms[i] == XKB_KEY_Escape) {
/* cancel */ /*
* Cancel view-cycle
*
* osd_finish() additionally resets
* cycle_view to NULL
*/
osd_preview_restore(server); osd_preview_restore(server);
/* osd_finish() additionally resets cycle_view to NULL */
osd_finish(server); osd_finish(server);
handled = true; handled = true;