aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-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()) {