mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-24 08:31:42 +00:00
Small correction to adopt to base change also remove annoying warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23971 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b684db215f
commit
a5d929ce42
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-10-27 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XIMInputServer.m (-initWithDelegate:display:name:):
|
||||
Replace call to GetStringEncoding with [NSString
|
||||
localizedNameOfStringEncoding:]
|
||||
* Source/x11/XGServerWindow.m (-_setupMouse): Make log message on
|
||||
multiple mouse buttons a debug log message. Seems like newer X
|
||||
servers detect loads of mouse buttons which are not there.
|
||||
|
||||
2006-10-21 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/win32/WIN32Server.m: Update -windowlist implementation.
|
||||
|
|
|
@ -1127,8 +1127,8 @@ static void setWindowHintsForStyle (Display *dpy, Window window,
|
|||
numButtons = XGetPointerMapping(dpy, mouseNumbers, 5);
|
||||
if (numButtons > 5)
|
||||
{
|
||||
NSLog(@"Warning - mouse/pointer seems to have more than 5 buttons"
|
||||
@" - just using one to five");
|
||||
NSDebugLLog(@"XGTrace", @"Warning - mouse/pointer seems to have more than 5 buttons "
|
||||
@"(%d) - just using one to five", numButtons);
|
||||
numButtons = 5;
|
||||
}
|
||||
generic.lMouse = buttons[0];
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
encoding = [NSString defaultCStringEncoding];
|
||||
}
|
||||
NSDebugLLog(@"XIM", @"XIM locale encoding for %s is %@", locale,
|
||||
GetEncodingName(encoding));
|
||||
[NSString localizedNameOfStringEncoding: encoding]);
|
||||
|
||||
#ifdef USE_XIM
|
||||
if ([self ximInit: dpy] == NO)
|
||||
|
|
Loading…
Reference in a new issue