summaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc11
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
416long FbWindow::eventMask() const { 416long 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
425void FbWindow::setBufferPixmap(Pixmap pm) { 424void FbWindow::setBufferPixmap(Pixmap pm) {