Ticket #917: mouse.1.diff

File mouse.1.diff, 2.8 KB (added by Adek336, 16 years ago)
  • src/kits/storage/AddOnMonitor.cpp

     
    2222        return;
    2323    }
    2424    fPulseMessage = new BMessage(B_PULSE);
    25     fPulseRunner = new BMessageRunner(messenger, fPulseMessage, 1000000);
     25    //fPulseRunner = new BMessageRunner(messenger, fPulseMessage, 1000000);
     26    fPulseRunner = new BMessageRunner(messenger, fPulseMessage, 100000);
    2627    status = fPulseRunner->InitCheck();
    2728    if (status != B_OK) {
    2829        fInitCheck = status;
  • src/add-ons/input_server/devices/mouse/MouseInputDevice.cpp

     
    223223    else {
    224224        fActive = true;
    225225        status = resume_thread(fThread);
     226    //QQQ from this point on, the cursor responds to mouse movements
     227        debug_printf("QQQ: the mouse is usable\n");
    226228    }
    227229
    228230    if (status < B_OK) {
  • src/add-ons/kernel/bus_managers/ps2/ps2_service.c

     
    104104            packet_buffer_read(sServiceCmdBuffer, (uint8 *)&cmd, sizeof(cmd));
    105105            switch (cmd.id) {
    106106                case PS2_SERVICE_NOTIFY_DEVICE_ADDED:
    107                     snooze(1000000); // for better testing of possible input server race condition
     107                    //snooze(1000000); // for better testing of possible input server race condition
    108108                    TRACE("ps2: PS2_SERVICE_NOTIFY_DEVICE_ADDED %s\n", cmd.dev->name);
    109109                    ps2_dev_publish(cmd.dev);
    110110                    break;
     
    113113                    TRACE("ps2: PS2_SERVICE_NOTIFY_DEVICE_REPUBLISH %s\n", cmd.dev->name);
    114114                    ps2_dev_unpublish(cmd.dev);
    115115                    snooze(2500000);
     116                    // remove?
    116117                    ps2_dev_publish(cmd.dev);
    117118                    break;
    118119
  • src/servers/app/AppServer.cpp

     
    6969    gFontManager->Run();
    7070
    7171    gScreenManager = new ScreenManager();
     72//QQQ at this point, the boot screen has been replaced with a blank screen
     73    ktrace_printf("QQQ: blank screen\n");
    7274    gScreenManager->Run();
    7375   
    7476    // Create the bitmap allocator. Object declared in BitmapManager.cpp
     
    120122        desktop = new Desktop(userID);
    121123
    122124        status_t status = desktop->Init();
     125//QQQ at this point, the blue desktop is drawn (note that because of hardware latencies, it is not immiedately visible)
     126        ktrace_printf("QQQ: init desktop\n");
    123127        if (status == B_OK) {
    124128            if (!desktop->Run())
    125129                status = B_ERROR;