aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-16 11:26:22 (GMT)
committerfluxgen <fluxgen>2002-02-16 11:26:22 (GMT)
commit4842c8632f627182881c689e7f013f1388b9f391 (patch)
tree30a0303d17db3f7dfe601b6bfae4fc5dce6e5998
parent5f39282ce6aa5b4b784d45d134ad9d7908ad2cee (diff)
downloadfluxbox_pavel-4842c8632f627182881c689e7f013f1388b9f391.zip
fluxbox_pavel-4842c8632f627182881c689e7f013f1388b9f391.tar.bz2
fixed return value in unmapNotifyEvent and added grabButtons
-rw-r--r--src/Window.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Window.hh b/src/Window.hh
index fbb7069..bbb736e 100644
--- a/src/Window.hh
+++ b/src/Window.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: Window.hh,v 1.8 2002/02/11 11:47:37 fluxgen Exp $ 25// $Id: Window.hh,v 1.9 2002/02/16 11:26:22 fluxgen Exp $
26 26
27#ifndef _WINDOW_HH_ 27#ifndef _WINDOW_HH_
28#define _WINDOW_HH_ 28#define _WINDOW_HH_
@@ -162,14 +162,14 @@ public:
162 bool destroyNotifyEvent(XDestroyWindowEvent *); 162 bool destroyNotifyEvent(XDestroyWindowEvent *);
163 void mapRequestEvent(XMapRequestEvent *); 163 void mapRequestEvent(XMapRequestEvent *);
164 void mapNotifyEvent(XMapEvent *); 164 void mapNotifyEvent(XMapEvent *);
165 void unmapNotifyEvent(XUnmapEvent *); 165 bool unmapNotifyEvent(XUnmapEvent *);
166 void propertyNotifyEvent(Atom); 166 void propertyNotifyEvent(Atom);
167 void exposeEvent(XExposeEvent *); 167 void exposeEvent(XExposeEvent *);
168 void configureRequestEvent(XConfigureRequestEvent *); 168 void configureRequestEvent(XConfigureRequestEvent *);
169 169
170#ifdef SHAPE 170 #ifdef SHAPE
171 void shapeEvent(XShapeEvent *); 171 void shapeEvent(XShapeEvent *);
172#endif // SHAPE 172 #endif // SHAPE
173 173
174 virtual void timeout(void); 174 virtual void timeout(void);
175 175
@@ -261,6 +261,8 @@ private:
261 261
262 enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE }; 262 enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE };
263 263
264 void grabButtons();
265
264 void createButton(int type, ButtonEventProc, ButtonEventProc, ButtonDrawProc); 266 void createButton(int type, ButtonEventProc, ButtonEventProc, ButtonDrawProc);
265 #ifdef GNOME 267 #ifdef GNOME
266 void updateGnomeAtoms(); 268 void updateGnomeAtoms();