aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/BaseDisplay.hh')
-rw-r--r--src/BaseDisplay.hh13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh
index 0a35dd1..09af9c5 100644
--- a/src/BaseDisplay.hh
+++ b/src/BaseDisplay.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: BaseDisplay.hh,v 1.27 2002/08/30 12:58:08 fluxgen Exp $ 25// $Id: BaseDisplay.hh,v 1.28 2002/08/30 13:09:24 fluxgen Exp $
26 26
27#ifndef BASEDISPLAY_HH 27#ifndef BASEDISPLAY_HH
28#define BASEDISPLAY_HH 28#define BASEDISPLAY_HH
@@ -109,17 +109,6 @@ public:
109 void ungrab(); 109 void ungrab();
110 void eventLoop(); 110 void eventLoop();
111 111
112 class GrabGuard:private NotCopyable
113 {
114 public:
115 GrabGuard(BaseDisplay &bd):m_bd(bd) { }
116 ~GrabGuard() { m_bd.ungrab(); }
117 inline void grab() { m_bd.grab(); }
118 inline void ungrab() { m_bd.ungrab(); }
119 private:
120 BaseDisplay &m_bd;
121 };
122
123private: 112private:
124 113
125 struct shape { 114 struct shape {