Mercurial > mplayer.hg
changeset 1853:f380ebc3ba89
remove ofocused ...
author | pontscho |
---|---|
date | Tue, 04 Sep 2001 16:04:04 +0000 |
parents | 58dd326fcc4a |
children | 8eb2be385fd6 |
files | Gui/wm/ws.c Gui/wm/ws.h |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/wm/ws.c Tue Sep 04 15:21:00 2001 +0000 +++ b/Gui/wm/ws.c Tue Sep 04 16:04:04 2001 +0000 @@ -448,7 +448,6 @@ 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 @@ win->KeyHandler=NULL; win->Visible=0; win->Focused=0; - win->OFocused=0; win->Mapped=0; win->Rolled=0; } @@ -540,13 +538,11 @@ 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:
--- a/Gui/wm/ws.h Tue Sep 04 15:21:00 2001 +0000 +++ b/Gui/wm/ws.h Tue Sep 04 16:04:04 2001 +0000 @@ -124,8 +124,6 @@ int CapsLock; // --- Misc ------------------------------------------------------------------------------------- - int OFocused; - Atom AtomDeleteWindow; Atom AtomTakeFocus; Atom AtomRolle;