aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/system.h b/common/system.h
index a8aa1198bd..53a545627c 100644
--- a/common/system.h
+++ b/common/system.h
@@ -680,9 +680,6 @@ public:
/** @name Events and Time */
//@{
-//protected:
- friend class Common::EventManager;
-
/**
* The types of events backends may generate.
* @see Event
@@ -790,6 +787,9 @@ public:
Common::Point mouse;
};
+protected:
+ friend class DefaultEventManager;
+
/**
* Get the next event in the event queue.
* @param event point to an Event struct, which will be filled with the event data.