Subversion Repositories HelenOS

Rev

Rev 2927 | Rev 4337 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3674
Line 256... Line 256...
256
    async_msg_2(fbphone, FB_POINTER_MOVE, mouse_x, mouse_y);
256
    async_msg_2(fbphone, FB_POINTER_MOVE, mouse_x, mouse_y);
257
}
257
}
258
 
258
 
259
static int gcons_find_conbut(int x, int y)
259
static int gcons_find_conbut(int x, int y)
260
{
260
{
261
    int status_start = STATUS_START + (xres - 800) / 2;;
261
    int status_start = STATUS_START + (xres - 800) / 2;
262
 
262
 
263
    if (y < STATUS_TOP || y >= STATUS_TOP + STATUS_HEIGHT)
263
    if (y < STATUS_TOP || y >= STATUS_TOP + STATUS_HEIGHT)
264
        return -1;
264
        return -1;
265
   
265
   
266
    if (x < status_start)
266
    if (x < status_start)