Ignore:
File:
1 edited

Legend:

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

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