input_server: fix debug build.

This commit is contained in:
Adrien Destugues
2015-10-23 19:31:39 +02:00
parent c06aefa0ee
commit 96f94789c4
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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);
+1
View File
@@ -10,6 +10,7 @@
#include "MethodReplicant.h"
#include <driver_settings.h>
#include <keyboard_mouse_driver.h>
#include <safemode_defs.h>
#include <syscalls.h>
+2 -2
View File
@@ -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) {
+1 -1
View File
@@ -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;