Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/gcons.c

    r306061a r96b02eb9  
    3434
    3535#include <ipc/fb.h>
     36#include <ipc/ipc.h>
    3637#include <async.h>
    3738#include <stdio.h>
     
    285286        ssize_t nx = (ssize_t) mouse_x + dx;
    286287        ssize_t ny = (ssize_t) mouse_y + dy;
    287        
    288         /* Until gcons is initalized we don't have the screen resolution */
    289         if (xres == 0 || yres == 0)
     288
     289        if (!use_gcons)
    290290                return;
    291291       
Note: See TracChangeset for help on using the changeset viewer.