aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-12 14:35:36 (GMT)
committerfluxgen <fluxgen>2003-06-12 14:35:36 (GMT)
commit4223370926da86b3d4b541dd910626b78db6a00a (patch)
tree3c5ba0ca0ed8b950d244b152be5ff36a90b7fa73 /src/Window.cc
parentbb004b632580f977d6af498e339f2637aba8eb30 (diff)
downloadfluxbox_pavel-4223370926da86b3d4b541dd910626b78db6a00a.zip
fluxbox_pavel-4223370926da86b3d4b541dd910626b78db6a00a.tar.bz2
minor fixes
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()),