remove ofocused ...

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1854 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-04 16:04:04 +00:00
parent d62c80d3bd
commit 0e76805792
2 changed files with 0 additions and 6 deletions

View File

@ -448,7 +448,6 @@ void wsCreateWindow( wsTWindow * win,int X,int Y,int wX,int hY,int bW,int cV,uns
win->Visible=0;
win->Focused=0;
win->OFocused=0;
win->Mapped=0;
win->Rolled=0;
if ( D & wsShowWindow ) XMapWindow( wsDisplay,win->WindowID );
@ -491,7 +490,6 @@ void wsDestroyWindow( wsTWindow * win )
win->KeyHandler=NULL;
win->Visible=0;
win->Focused=0;
win->OFocused=0;
win->Mapped=0;
win->Rolled=0;
}
@ -540,13 +538,11 @@ Bool wsEvents( Display * display,XEvent * Event,XPointer arg )
case FocusIn:
if ( wsWindowList[l]->Focused == wsFocused ) break;
i=wsWindowFocusIn;
wsWindowList[l]->OFocused=wsWindowList[l]->Focused;
wsWindowList[l]->Focused=wsFocused;
goto expose;
case FocusOut:
if ( wsWindowList[l]->Focused == wsNone ) break;
i=wsWindowFocusOut;
wsWindowList[l]->OFocused=wsWindowList[l]->Focused;
wsWindowList[l]->Focused=wsNone;
goto expose;
case VisibilityNotify:

View File

@ -124,8 +124,6 @@ typedef struct
int CapsLock;
// --- Misc -------------------------------------------------------------------------------------
int OFocused;
Atom AtomDeleteWindow;
Atom AtomTakeFocus;
Atom AtomRolle;