From: Enlightenment S. <no-...@en...> - 2011-04-25 13:59:15
|
Log: Fix selection of next focus window when iconifing a window. Noted by Daniel Manjarres. Author: kwo Date: 2011-04-25 06:59:08 -0700 (Mon, 25 Apr 2011) New Revision: 58900 Trac: http://trac.enlightenment.org/e/changeset/58900 Modified: trunk/E16/e/src/eobj.h trunk/E16/e/src/ewins.h Modified: trunk/E16/e/src/eobj.h =================================================================== --- trunk/E16/e/src/eobj.h 2011-04-25 13:10:57 UTC (rev 58899) +++ trunk/E16/e/src/eobj.h 2011-04-25 13:59:08 UTC (rev 58900) @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2010 Kim Woelders + * Copyright (C) 2004-2011 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -79,6 +79,7 @@ #define EobjGetW(eo) WinGetW(EobjGetWin(eo)) #define EobjGetH(eo) WinGetH(EobjGetWin(eo)) #define EobjGetBW(eo) WinGetBorderWidth(EobjGetWin(eo)) +#define EoIsMapped(eo) WinIsMapped(EoGetWin(eo)) #define EobjHasEmptyShape(eo) (WinGetNumRect(EobjGetWin(eo)) < 0) #define EobjGetType(eo) ((eo)->type) Modified: trunk/E16/e/src/ewins.h =================================================================== --- trunk/E16/e/src/ewins.h 2011-04-25 13:10:57 UTC (rev 58899) +++ trunk/E16/e/src/ewins.h 2011-04-25 13:59:08 UTC (rev 58900) @@ -1,6 +1,6 @@ /* * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors - * Copyright (C) 2004-2010 Kim Woelders + * Copyright (C) 2004-2011 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -286,9 +286,9 @@ #define EWIN_GRAVITY_SW 2 #define EWIN_GRAVITY_SE 3 +#define EwinIsMapped(ewin) EoIsMapped(ewin) #define EwinGetDesk(ewin) EoGetDesk(ewin) -#define EwinIsMapped(ewin) ((ewin)->state.state >= EWIN_STATE_MAPPED) #define EwinIsInternal(ewin) ((ewin)->type != EWIN_TYPE_NORMAL) #define EwinIsTransientChild(ewin) ((ewin)->icccm.transient > 0) #define EwinIsTransient(ewin) ((ewin)->icccm.transient != 0) |