diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-10-06 11:37:58 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-10-06 11:37:58 +0000 |
commit | 818cb17827b342d7a7b2c0020958be25408e0ec3 (patch) | |
tree | 627d78c21c7ffdbe3e5971df58805d15a8e11b7f /x11-wm/awesome2/files/extrapatch-warp | |
parent | 968cc51c3f2f70904e5503f1579300a6f17b8470 (diff) |
Notes
Diffstat (limited to 'x11-wm/awesome2/files/extrapatch-warp')
-rw-r--r-- | x11-wm/awesome2/files/extrapatch-warp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/awesome2/files/extrapatch-warp b/x11-wm/awesome2/files/extrapatch-warp index 47b1d2dd41cd..ef27961d3af6 100644 --- a/x11-wm/awesome2/files/extrapatch-warp +++ b/x11-wm/awesome2/files/extrapatch-warp @@ -5,11 +5,11 @@ XEvent ev; XWindowChanges wc; + Window dummy, root; -+ int wex, wey, ex, ey, i, dummyscno; ++ int wex, wey, ex, ey, i; + unsigned int dmask; + + if(sel) { -+ ScreenInfo *si = get_screen_info(disp, awesomeconf->screen, awesomeconf->statusbar, &dummyscno); ++ ScreenInfo *si = get_screen_info(disp, awesomeconf->screen, &awesomeconf->statusbar); + root = RootWindow(disp, awesomeconf->screen); + XQueryPointer(disp, sel->win, &dummy, &dummy, &i, &i, &wex, &wey, &dmask); + XTranslateCoordinates(disp, sel->win, root, wex, wey, &ex, &ey, &dummy); |