aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 82d5e65..61bf3ee 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,12 +22,12 @@
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.189 2003/06/11 14:51:56 fluxgen Exp $ 25// $Id: Window.cc,v 1.190 2003/06/12 14:35:36 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
29#include "WinClient.hh" 29#include "WinClient.hh"
30#include "i18n.hh" 30#include "I18n.hh"
31#include "fluxbox.hh" 31#include "fluxbox.hh"
32#include "Screen.hh" 32#include "Screen.hh"
33#include "StringUtil.hh" 33#include "StringUtil.hh"
@@ -814,7 +814,6 @@ void FluxboxWindow::associateClientWindow() {
814 814
815 815
816void FluxboxWindow::grabButtons() { 816void FluxboxWindow::grabButtons() {
817 Fluxbox *fluxbox = Fluxbox::instance();
818 817
819 XGrabButton(display, Button1, AnyModifier, 818 XGrabButton(display, Button1, AnyModifier,
820 frame().clientArea().window(), True, ButtonPressMask, 819 frame().clientArea().window(), True, ButtonPressMask,
@@ -2968,7 +2967,7 @@ void FluxboxWindow::doSnapping(int &orig_left, int &orig_top) {
2968 2967
2969void FluxboxWindow::startResizing(Window win, int x, int y, bool left) { 2968void FluxboxWindow::startResizing(Window win, int x, int y, bool left) {
2970 resizing = true; 2969 resizing = true;
2971 Fluxbox *fluxbox = Fluxbox::instance(); 2970
2972 XGrabPointer(display, win, false, ButtonMotionMask | ButtonReleaseMask, 2971 XGrabPointer(display, win, false, ButtonMotionMask | ButtonReleaseMask,
2973 GrabModeAsync, GrabModeAsync, None, 2972 GrabModeAsync, GrabModeAsync, None,
2974 (left ? frame().theme().lowerLeftAngleCursor() : frame().theme().lowerRightAngleCursor()), 2973 (left ? frame().theme().lowerLeftAngleCursor() : frame().theme().lowerRightAngleCursor()),