aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-04-14 15:40:57 (GMT)
committerrathnor <rathnor>2004-04-14 15:40:57 (GMT)
commitcf2b24b645008ee2efdc14391baad793f8a49f5f (patch)
treea8d44940959e604af8d3db82140b3ffb2e9d6bb9 /src
parent0b8592b203c5da0fee069801e8413a5cc7c2eb64 (diff)
downloadfluxbox-cf2b24b645008ee2efdc14391baad793f8a49f5f.zip
fluxbox-cf2b24b645008ee2efdc14391baad793f8a49f5f.tar.bz2
fix the hang some more, hopefully final
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index b7913c1..acb2565 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.278 2004/04/14 15:17:20 rathnor Exp $ 25// $Id: Window.cc,v 1.279 2004/04/14 15:40:57 rathnor Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -974,6 +974,10 @@ void FluxboxWindow::associateClientWindow(bool use_attrs, int x, int y, unsigned
974 974
975void FluxboxWindow::grabButtons() { 975void FluxboxWindow::grabButtons() {
976 976
977 // needed for click to focus
978 XGrabButton(display, Button1, AnyModifier,
979 frame().window().window(), True, ButtonPressMask,
980 GrabModeAsync, GrabModeAsync, None, None);
977 XUngrabButton(display, Button1, Mod1Mask|Mod2Mask|Mod3Mask, frame().window().window()); 981 XUngrabButton(display, Button1, Mod1Mask|Mod2Mask|Mod3Mask, frame().window().window());
978 982
979 if (Fluxbox::instance()->useMod1()) { 983 if (Fluxbox::instance()->useMod1()) {