diff options
author | fluxgen <fluxgen> | 2004-06-15 11:03:17 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-06-15 11:03:17 (GMT) |
commit | db6e78bba9fbd0e216f0ebbe5d4f55090ca62069 (patch) | |
tree | 475d7efb5d201527d25da4344ad2a76ccf993bab /src/FbTk | |
parent | f1ce9c3f34b9354ff920dabdc3df534323d995f0 (diff) | |
download | fluxbox-db6e78bba9fbd0e216f0ebbe5d4f55090ca62069.zip fluxbox-db6e78bba9fbd0e216f0ebbe5d4f55090ca62069.tar.bz2 |
minor fix
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbWindow.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 8bd0ced..67afb68 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -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: FbWindow.cc,v 1.35 2004/06/07 20:24:38 fluxgen Exp $ | 22 | // $Id: FbWindow.cc,v 1.36 2004/06/15 11:03:17 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWindow.hh" | 24 | #include "FbWindow.hh" |
25 | 25 | ||
@@ -415,11 +415,10 @@ int FbWindow::screenNumber() const { | |||
415 | 415 | ||
416 | long FbWindow::eventMask() const { | 416 | long FbWindow::eventMask() const { |
417 | XWindowAttributes attrib; | 417 | XWindowAttributes attrib; |
418 | if (XGetWindowAttributes(s_display, window(), | 418 | XGetWindowAttributes(s_display, window(), |
419 | &attrib) == Success) { | 419 | &attrib); |
420 | return attrib.your_event_mask; | 420 | return attrib.your_event_mask; |
421 | } | 421 | |
422 | return 0; | ||
423 | } | 422 | } |
424 | 423 | ||
425 | void FbWindow::setBufferPixmap(Pixmap pm) { | 424 | void FbWindow::setBufferPixmap(Pixmap pm) { |