mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
XIM fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13472 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eda5a7a078
commit
6475b07250
3 changed files with 14 additions and 3 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2002-04-15 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/x11/XGServerWindow.m ([XGServer
|
||||
-_addExposedRectangle::]): Use current server class
|
||||
([XGServer -flushwindowrect::]): Idem.
|
||||
(Suggestion by alexander@malmberg.org)
|
||||
|
||||
* Source/x11/XIMInputServer.m (-initWithDelegate:display:name:):
|
||||
Use defaultCStringEncoding if UTF8 doesn't work.
|
||||
(Patch from stoyan@on.com.ua).
|
||||
|
||||
2002-04-14 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Headers/x11/XGServerWindow.h: Add graphics driver protocol
|
||||
|
|
|
@ -1983,7 +1983,7 @@ NSDebugLLog(@"Frame", @"X2O %d, %@, %@", win->number,
|
|||
/* Temporary protocol until we standardize the backing buffer */
|
||||
NSRect rect = NSMakeRect(rectangle.x, rectangle.y,
|
||||
rectangle.width, rectangle.height);
|
||||
[NSGraphicsContext handleExposeRect: rect
|
||||
[[GSCurrentServer() class] handleExposeRect: rect
|
||||
forDriver: window->gdriver];
|
||||
}
|
||||
else
|
||||
|
@ -2056,7 +2056,7 @@ NSDebugLLog(@"Frame", @"X2O %d, %@, %@", win->number,
|
|||
if ((window->gdriverProtocol & GDriverHandlesBacking))
|
||||
{
|
||||
/* Temporary protocol until we standardize the backing buffer */
|
||||
[NSGraphicsContext handleExposeRect: rect
|
||||
[[GSCurrentServer() class] handleExposeRect: rect
|
||||
forDriver: window->gdriver];
|
||||
}
|
||||
else
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
#endif
|
||||
else
|
||||
{
|
||||
encoding = NSISOLatin1StringEncoding;
|
||||
encoding = [NSString defaultCStringEncoding];
|
||||
}
|
||||
|
||||
#if USE_XIM
|
||||
|
|
Loading…
Reference in a new issue