Re: Patch for XGServerEvent for easy override

Hi,
Can someone review this patch and put it into CVS if it is approved ?

It is essential for StepBox and cost nothing comparing to the current
implementation.

Yen-Ju

From: "Yen-Ju Chen" <address@hidden>
To: address@hidden
Subject: Patch for XGServerEvent for easy override
Date: Thu, 30 Oct 2003 15:32:12 -0500
Hi,
This is a patch of XGServerEvent for easy override.
It do nothing different, but just for easy override by others.
Basically it split a method into two:
- methodA {
while() {
doSomething.
}
}
becomes
- methodA {
while() {
[self methodB];
}
}
- methodB {
doSomething;
}
The only drawback is that it call methodB a lot.
But it comes from user input, which I think won't affect the speed.
It is required by StepBox to use GNUstep facility,
and may be used by other window manager if needed.
Thanx a lot
Yen-Ju
_________________________________________________________________