summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcc70a9)
raw | patch | inline | side by side (parent: bcc70a9)
author | dwyip <dwyip@users.sourceforge.net> | |
Sun, 2 Apr 2006 01:10:00 +0000 (01:10 +0000) | ||
committer | dwyip <dwyip@users.sourceforge.net> | |
Sun, 2 Apr 2006 01:10:00 +0000 (01:10 +0000) |
detection logic in connect request receive code
src/jabber_whiteboard/connection-establishment.cpp | patch | blob | history |
diff --git a/src/jabber_whiteboard/connection-establishment.cpp b/src/jabber_whiteboard/connection-establishment.cpp
index eba75d9a42e278232ae57cecfeb3b9798ea07650..5cc9e053d11af0264914b8fcec8a65930c0ab14b 100644 (file)
Gdk::ModifierType mt;
Gdk::Display::get_default()->get_pointer(x, y, mt);
- if (mt) {
+ if (mt & GDK_BUTTON1_MASK) {
// Attach a polling timeout
this->_notify_incoming_request = Glib::signal_timeout().connect(sigc::bind< 0 >(sigc::mem_fun(*this, &SessionManager::_pollReceiveConnectRequest), requesterJID), 50);
return;
Gdk::ModifierType mt;
Gdk::Display::get_default()->get_pointer(x, y, mt);
- if (mt) {
+ if (mt & GDK_BUTTON1_MASK) {
return true;
} else {
this->receiveConnectRequest(recipientJID.c_str());