Changeset a3d2939 in mainline


Ignore:
Timestamp:
2006-06-17T07:37:14Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e0bfcf8
Parents:
d3cd9774
Message:

Do somewhat intelligent mouse hiding.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    rd3cd9774 ra3d2939  
    418418                        break;
    419419                case CONSOLE_FLUSH:
    420                         async_req_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);         
     420                        if (consnum == active_console)
     421                                async_req_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);         
    421422                        break;
    422423                case CONSOLE_SET_STYLE:
  • fb/fb.c

    rd3cd9774 ra3d2939  
    831831
    832832static int pointer_x, pointer_y;
    833 static int pointer_shown;
     833static int pointer_shown, pointer_enabled;
    834834static int pointer_vport = -1;
    835835static int pointer_pixmap = -1;
     
    841841        int color;
    842842        int bytepos;
     843
     844        if (pointer_shown || !pointer_enabled)
     845                return;
    843846
    844847        /* Save image under the cursor */
     
    10611064                        cursor_blink(vport);
    10621065                        anims_tick();
     1066                        mouse_show();
    10631067                        continue;
    10641068                }
     
    11991203                        continue;
    12001204                case FB_POINTER_MOVE:
     1205                        pointer_enabled = 1;
    12011206                        mouse_move(IPC_GET_ARG1(call), IPC_GET_ARG2(call));
    12021207                        retval = 0;
Note: See TracChangeset for help on using the changeset viewer.