mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 17:31:33 +00:00
Correct formatting, replaced tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28070 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a3f5800658
commit
dce97e65b8
2 changed files with 1185 additions and 1182 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-03-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XGServerEvent.m: Correct formatting.
|
||||
|
||||
2009-03-12 Thomas Gamper <icicle@cg.tuwien.ac.at>
|
||||
|
||||
* Source/x11/XGServerEvent.m:
|
||||
|
|
|
@ -262,7 +262,7 @@ static int check_modifier (XEvent *xEvent, KeySym key_sym)
|
|||
|
||||
#if LIB_FOUNDATION_LIBRARY
|
||||
- (void) activity: (NSPosixFileActivities)activity
|
||||
posixFileDescriptor: (NSPosixFileDescriptor*)fileDescriptor
|
||||
posixFileDescriptor: (NSPosixFileDescriptor*)fileDescriptor
|
||||
{
|
||||
[self receivedEvent: 0 type: 0 extra: 0 forMode: nil];
|
||||
}
|
||||
|
@ -1942,6 +1942,7 @@ process_key_event (XEvent* xEvent, XGServer* context, NSEventType eventType,
|
|||
int help_key = 0;
|
||||
KeySym modKeysym; // process modifier independently of shift, etc.
|
||||
XEvent next_event;
|
||||
BOOL keyRepeat = NO;
|
||||
|
||||
if (_is_keyboard_initialized == NO)
|
||||
initialize_keyboard ();
|
||||
|
@ -2083,8 +2084,6 @@ process_key_event (XEvent* xEvent, XGServer* context, NSEventType eventType,
|
|||
set "next_event_is_a_keyrepeat" to "YES" so that we know that the next
|
||||
event is a repeat too.
|
||||
*/
|
||||
BOOL keyRepeat = NO;
|
||||
|
||||
if ( next_event_is_a_keyrepeat == YES )
|
||||
{
|
||||
keyRepeat = YES;
|
||||
|
@ -2446,8 +2445,8 @@ process_modifier_flags(unsigned int state)
|
|||
p = NSMakePoint(currentX, height - currentY);
|
||||
if (win)
|
||||
{
|
||||
gswindow_device_t *w = 0;
|
||||
w = [XGServer _windowForXWindow: childWin];
|
||||
gswindow_device_t *w = [XGServer _windowForXWindow: childWin];
|
||||
|
||||
if (w == NULL)
|
||||
w = [XGServer _windowForXParent: childWin];
|
||||
if (w)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue