Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/ega.c

    rffa2c8ef r79ae36dd  
    5252#include <io/screenbuffer.h>
    5353#include <sys/types.h>
    54 
    5554#include "ega.h"
    5655#include "main.h"
     56
     57// FIXME: remove this header
     58#include <kernel/ipc/ipc_methods.h>
    5759
    5860#define MAX_SAVED_SCREENS  256
     
    291293                int retval;
    292294               
    293                 switch (IPC_GET_IMETHOD(call)) {
    294                 case IPC_M_PHONE_HUNGUP:
     295                if (!IPC_GET_IMETHOD(call)) {
    295296                        client_connected = 0;
    296297                        async_answer_0(callid, EOK);
     
    298299                        /* Exit thread */
    299300                        return;
     301                }
     302               
     303                switch (IPC_GET_IMETHOD(call)) {
    300304                case IPC_M_SHARE_OUT:
    301305                        /* We accept one area for data interchange */
Note: See TracChangeset for help on using the changeset viewer.