aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-08-30 13:11:47 (GMT)
committerfluxgen <fluxgen>2002-08-30 13:11:47 (GMT)
commit2b168a584f05af026a9b6fdd21fb17cfb57a9e2f (patch)
tree6082b3c91c01cd9d5616d9bfb33ce8f81a7bda00 /src/BaseDisplay.hh
parent65a124a83cded041ac8025ac4493793db4c76ca0 (diff)
downloadfluxbox-2b168a584f05af026a9b6fdd21fb17cfb57a9e2f.zip
fluxbox-2b168a584f05af026a9b6fdd21fb17cfb57a9e2f.tar.bz2
removed grabguard
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 {