all repos — fluxbox @ db6e78bba9fbd0e216f0ebbe5d4f55090ca62069

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

db6e78bba9fbd0e216f0ebbe5d4f55090ca62069

parent

f1ce9c3f34b9354ff920dabdc3df534323d995f0

1 files changed, 5 insertions(+), 6 deletions(-)

jump to
M src/FbTk/FbWindow.ccsrc/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) {