Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/console/src/console.c

    r69c376b5 rd0dfbba  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * Copyright (c) 2006 Josef Cejka
    44 * Copyright (c) 2006 Jakub Vana
     
    4545#include <io/console.h>
    4646#include <ipc/console.h>
     47#include "../private/console.h"
    4748
    4849console_ctrl_t *console_init(FILE *ifile, FILE *ofile)
     
    193194                event->ev.key.mods = ipc_get_arg4(call);
    194195                event->ev.key.c = ipc_get_arg5(call);
    195                 break;
     196                return EOK;
    196197        case CEV_POS:
    197198                event->ev.pos.pos_id = ipc_get_arg2(call) >> 16;
     
    200201                event->ev.pos.hpos = ipc_get_arg4(call);
    201202                event->ev.pos.vpos = ipc_get_arg5(call);
    202                 break;
    203         default:
    204                 return EIO;
    205         }
    206 
    207         return EOK;
     203                return EOK;
     204        case CEV_RESIZE:
     205                return EOK;
     206        }
     207
     208        return EIO;
    208209}
    209210
Note: See TracChangeset for help on using the changeset viewer.