diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-04 16:04:04 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-04 16:04:04 +0000 |
commit | 0e76805792829f87e9a4e17bbea4dec59f1d4afb (patch) | |
tree | f3bccbeb30d5d9257d16ca1ca9e80d1b088d6e98 /Gui/wm | |
parent | d62c80d3bd462257c6ebdef6d0eefc9dc6d677b4 (diff) |
remove ofocused ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1854 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r-- | Gui/wm/ws.c | 4 | ||||
-rw-r--r-- | Gui/wm/ws.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index bfb828f785..910036a14b 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -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: diff --git a/Gui/wm/ws.h b/Gui/wm/ws.h index 21bda65004..f1d6fddc62 100644 --- a/Gui/wm/ws.h +++ b/Gui/wm/ws.h @@ -124,8 +124,6 @@ typedef struct int CapsLock; // --- Misc ------------------------------------------------------------------------------------- - int OFocused; - Atom AtomDeleteWindow; Atom AtomTakeFocus; Atom AtomRolle; |