fixed return value in unmapNotifyEvent and added grabButtons
fluxgen fluxgen
1 files changed,
6 insertions(+),
4 deletions(-)
jump to
M
src/Window.hh
→
src/Window.hh
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.hh,v 1.8 2002/02/11 11:47:37 fluxgen Exp $ +// $Id: Window.hh,v 1.9 2002/02/16 11:26:22 fluxgen Exp $ #ifndef _WINDOW_HH_ #define _WINDOW_HH_@@ -162,14 +162,14 @@ void motionNotifyEvent(XMotionEvent *);
bool destroyNotifyEvent(XDestroyWindowEvent *); void mapRequestEvent(XMapRequestEvent *); void mapNotifyEvent(XMapEvent *); - void unmapNotifyEvent(XUnmapEvent *); + bool unmapNotifyEvent(XUnmapEvent *); void propertyNotifyEvent(Atom); void exposeEvent(XExposeEvent *); void configureRequestEvent(XConfigureRequestEvent *); -#ifdef SHAPE + #ifdef SHAPE void shapeEvent(XShapeEvent *); -#endif // SHAPE + #endif // SHAPE virtual void timeout(void);@@ -261,6 +261,8 @@ } frame;
enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE }; + void grabButtons(); + void createButton(int type, ButtonEventProc, ButtonEventProc, ButtonDrawProc); #ifdef GNOME void updateGnomeAtoms();