minor fix
fluxgen fluxgen
1 files changed,
5 insertions(+),
6 deletions(-)
jump to
M
src/FbTk/FbWindow.cc
→
src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWindow.cc,v 1.35 2004/06/07 20:24:38 fluxgen Exp $ +// $Id: FbWindow.cc,v 1.36 2004/06/15 11:03:17 fluxgen Exp $ #include "FbWindow.hh"@@ -415,11 +415,10 @@ }
long FbWindow::eventMask() const { XWindowAttributes attrib; - if (XGetWindowAttributes(s_display, window(), - &attrib) == Success) { - return attrib.your_event_mask; - } - return 0; + XGetWindowAttributes(s_display, window(), + &attrib); + return attrib.your_event_mask; + } void FbWindow::setBufferPixmap(Pixmap pm) {