mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-23 16:10:52 +00:00
Add gotShmConpletion call
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14240 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c910bb1351
commit
7ddadea058
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-08-06 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/x11/XGServerEvent.m ([XGServer
|
||||
-receivedEvent:type:extra:forMode:]): Add special gotShmCompletion
|
||||
call for libart backend.
|
||||
|
||||
2002-08-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Merge from 0.8.0 into main branch.
|
||||
|
|
|
@ -1250,6 +1250,15 @@ static inline int check_modifier (XEvent *xEvent, KeyCode key_code)
|
|||
|
||||
// We shouldn't get here unless we forgot to trap an event above
|
||||
default:
|
||||
|
||||
if (xEvent.type == XShmGetEventBase(dpy)+ShmCompletion
|
||||
&& [gcontext respondsToSelector: @selector(gotShmCompletion:)])
|
||||
{
|
||||
[gcontext gotShmCompletion:
|
||||
((XShmCompletionEvent *)&xEvent)->drawable];
|
||||
break;
|
||||
}
|
||||
|
||||
NSLog(@"Received an untrapped event\n");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue