input_server: fix debug build.
This commit is contained in:
@@ -85,7 +85,7 @@ BottomlineWindow::HandleInputMethodEvent(BMessage* event, EventList& newEvents)
|
||||
|| event->FindString("be:string", &string) != B_OK)
|
||||
return;
|
||||
|
||||
SERIAL_PRINT(("IME : %i, %s\n", opcode, string));
|
||||
SERIAL_PRINT(("IME : %" B_PRId32 ", %s\n", opcode, string));
|
||||
SERIAL_PRINT(("IME : confirmed\n"));
|
||||
|
||||
int32 length = strlen(string);
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "MethodReplicant.h"
|
||||
|
||||
#include <driver_settings.h>
|
||||
#include <keyboard_mouse_driver.h>
|
||||
#include <safemode_defs.h>
|
||||
#include <syscalls.h>
|
||||
|
||||
|
||||
@@ -131,8 +131,8 @@ MethodReplicant::AttachedToWindow()
|
||||
void
|
||||
MethodReplicant::MessageReceived(BMessage* message)
|
||||
{
|
||||
PRINT(("%s what:%c%c%c%c\n", __PRETTY_FUNCTION__, message->what >> 24,
|
||||
message->what >> 16, message->what >> 8, message->what));
|
||||
PRINT(("%s what:%c%c%c%c\n", __PRETTY_FUNCTION__, (char)(message->what >> 24),
|
||||
(char)(message->what >> 16), (char)(message->what >> 8), (char)message->what));
|
||||
PRINT_OBJECT(*message);
|
||||
|
||||
switch (message->what) {
|
||||
|
||||
@@ -146,7 +146,7 @@ MouseSettings::Dump()
|
||||
printf("mouse mode:\t%s\n", mode);
|
||||
|
||||
char *focus_follows_mouse_mode = "unknown";
|
||||
switch (fMode) {
|
||||
switch (fFocusFollowsMouseMode) {
|
||||
case B_NORMAL_FOCUS_FOLLOWS_MOUSE:
|
||||
focus_follows_mouse_mode = "normal";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user