| src/PWinObj.cc | |
| 1 | @@ -1,13 +1,13 @@ |
| 1 | // |
| 2 | // PWinObj.cc for pekwm |
| 3 | // Copyright © 2003-2009 Claes Nästen <me{@}pekdon{.}net> |
| 4 | // Copyright © 2003-2009 Claes Nästen <me@pekdon.net> |
| 5 | // |
| 6 | // This program is licensed under the GNU GPL. |
| 7 | // See the LICENSE file for more information. |
| 8 | // |
| 9 | |
| 10 | #ifdef HAVE_CONFIG_H |
| 11 | #include "../config.h" |
| 12 | #include "config.h" |
| 13 | #endif // HAVE_CONFIG_H |
| 14 | |
| 15 | #include <algorithm> |
| ... | |
| 43 | @@ -43,6 +43,7 @@ |
| 43 | if (_focused_wo == this) { |
| 44 | _focused_wo = 0; |
| 45 | } |
| 46 | notifyObservers(); |
| 47 | } |
| 48 | |
| 49 | //! @brief Associates Window with PWinObj |
| ... | |
| src/PWinObj.hh | |
| 6 | @@ -6,8 +6,8 @@ |
| 6 | // See the LICENSE file for more information. |
| 7 | // |
| 8 | |
| 9 | #ifndef _WINDOW_OBJECT_HH_ |
| 10 | #define _WINDOW_OBJECT_HH_ |
| 11 | #ifndef _PWIN_OBJ_HH_ |
| 12 | #define _PWIN_OBJ_HH_ |
| 13 | |
| 14 | #ifdef HAVE_CONFIG_H |
| 15 | #include "config.h" |
| ... | |
| 19 | @@ -19,10 +19,10 @@ |
| 19 | |
| 20 | #include "pekwm.hh" |
| 21 | #include "Action.hh" |
| 22 | |
| 23 | #include "Observable.hh" |
| 24 | |
| 25 | //! @brief X11 Window wrapper class. |
| 26 | class PWinObj |
| 27 | class PWinObj : public Observable |
| 28 | { |
| 29 | public: |
| 30 | //! @brief PWinObj inherited types. |
| ... | |
| 226 | @@ -226,4 +226,4 @@ |
| 226 | static std::map<Window, PWinObj*> _wo_map; //!< Mapping of Window to PWinObj |
| 227 | }; |
| 228 | |
| 229 | #endif // _WINDOW_OBJECT_HH_ |
| 230 | #endif // _PWIN_OBJ_HH_ |
| ... | |