X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fclient.hh;h=dd4bfe9faddc3073553158dc61602751a4f87260;hb=1f8b8425ae82c2c086f6648b7608b37685997634;hp=963cff52ea8525f68d5f804ddf70c01dd60deade;hpb=a93f06f5b3162e59c04074a14bd3702e4bb82133;p=chaz%2Fopenbox diff --git a/src/client.hh b/src/client.hh index 963cff52..dd4bfe9f 100644 --- a/src/client.hh +++ b/src/client.hh @@ -442,6 +442,9 @@ public: //! Returns the functions that the user can perform on the window inline FunctionFlags funtions() const { return _functions; } + //! Return the client this window is transient for + inline OBClient *transientFor() const { return _transient_for; } + //! Returns if the window is modal /*! If the window is modal, then no other windows that it is related to can get @@ -532,7 +535,6 @@ public: virtual void unmapHandler(const XUnmapEvent &e); virtual void destroyHandler(const XDestroyWindowEvent &e); virtual void reparentHandler(const XReparentEvent &e); - virtual void mapRequestHandler(const XMapRequestEvent &e); #if defined(SHAPE) virtual void shapeHandler(const XShapeEvent &e); #endif // SHAPE