diff options
author | markt <markt> | 2007-01-08 21:12:47 (GMT) |
---|---|---|
committer | markt <markt> | 2007-01-08 21:12:47 (GMT) |
commit | 45743c6f42aa50548141dad7a050a6150200b22a (patch) | |
tree | 277856895e0c38476bd7c98ce744826dd9b764ed | |
parent | 4390fb34e0941b74c08558cb94f3ab40ecc9b5d9 (diff) | |
download | fluxbox-45743c6f42aa50548141dad7a050a6150200b22a.zip fluxbox-45743c6f42aa50548141dad7a050a6150200b22a.tar.bz2 |
fix another 64-bit window property
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/FbTk/FbWindow.cc | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes for 1.0rc3: |
3 | *07/01/08: | ||
4 | * Fix another 64-bit window property (Mark/Simon) | ||
5 | FbTk/FbWindow.cc | ||
3 | *07/01/07: | 6 | *07/01/07: |
4 | * Update Iconbar Mode menu when updating settings (Mark) | 7 | * Update Iconbar Mode menu when updating settings (Mark) |
5 | IconbarTool.cc | 8 | IconbarTool.cc |
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 4145b29..926abfd 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -553,7 +553,7 @@ long FbWindow::eventMask() const { | |||
553 | void FbWindow::setOpaque(unsigned char alpha) { | 553 | void FbWindow::setOpaque(unsigned char alpha) { |
554 | #ifdef HAVE_XRENDER | 554 | #ifdef HAVE_XRENDER |
555 | static Atom m_alphaatom = XInternAtom(display(), "_NET_WM_WINDOW_OPACITY", False); | 555 | static Atom m_alphaatom = XInternAtom(display(), "_NET_WM_WINDOW_OPACITY", False); |
556 | unsigned int opacity = alpha * 0x1010101; | 556 | unsigned long opacity = alpha * 0x1010101; |
557 | changeProperty(m_alphaatom, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &opacity, 1l); | 557 | changeProperty(m_alphaatom, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &opacity, 1l); |
558 | #endif // HAVE_XRENDER | 558 | #endif // HAVE_XRENDER |
559 | } | 559 | } |