aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-24 15:02:15 (GMT)
committerfluxgen <fluxgen>2003-08-24 15:02:15 (GMT)
commit9160cf2e9635f4b1e961d372dc52a0de39ac772d (patch)
tree98a15eded627ec3737b0c7f56a85ab8d09f00bc3 /src
parentf71446bf7f3713d7a3914377799878f51dd4407a (diff)
downloadfluxbox-9160cf2e9635f4b1e961d372dc52a0de39ac772d.zip
fluxbox-9160cf2e9635f4b1e961d372dc52a0de39ac772d.tar.bz2
fixed shape stuff
Diffstat (limited to 'src')
-rw-r--r--src/Shape.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Shape.hh b/src/Shape.hh
index 59c3722..1232117 100644
--- a/src/Shape.hh
+++ b/src/Shape.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Shape.hh,v 1.1 2003/07/10 12:04:46 fluxgen Exp $ 22// $Id: Shape.hh,v 1.2 2003/08/24 15:02:15 fluxgen Exp $
23 23
24#ifndef SHAPE_HH 24#ifndef SHAPE_HH
25#define SHAPE_HH 25#define SHAPE_HH
@@ -49,6 +49,10 @@ public:
49 void update(); 49 void update();
50 /// assign a new window 50 /// assign a new window
51 void setWindow(FbTk::FbWindow &win); 51 void setWindow(FbTk::FbWindow &win);
52 // sets shape notify mask
53 static void setShapeNotify(const FbTk::FbWindow &win);
54 /// @return true if window has shape
55 static bool isShaped(const FbTk::FbWindow &win);
52private: 56private:
53 FbTk::FbWindow *m_win; ///< window to be shaped 57 FbTk::FbWindow *m_win; ///< window to be shaped
54 Pixmap m_shape; ///< our shape pixmap 58 Pixmap m_shape; ///< our shape pixmap