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