summaryrefslogtreecommitdiff
path: root/src/keybindings.c
diff options
context:
space:
mode:
authorElijah Newren <newren@src.gnome.org>2005-12-22 07:08:38 +0000
committerElijah Newren <newren@src.gnome.org>2005-12-22 07:08:38 +0000
commit53cba6ed37cabfaf3b3efadf67e48f14ecd6f33f (patch)
tree627d703ce6db5b32a6605b349fa9e008e73057fb /src/keybindings.c
parent7e821f37fd740f68e4d71823a60c5294c5713773 (diff)
downloadmetacity-53cba6ed37cabfaf3b3efadf67e48f14ecd6f33f.tar.gz
Oops, I only meant to commit the changes to rationales.txt in the last commit
Diffstat (limited to 'src/keybindings.c')
-rw-r--r--src/keybindings.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/keybindings.c b/src/keybindings.c
index a70a5359..e1872a0e 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -1451,15 +1451,11 @@ primary_modifier_still_pressed (MetaDisplay *display,
int x, y, root_x, root_y;
Window root, child;
guint mask;
- MetaScreen *random_screen;
- Window random_xwindow;
primary_modifier = get_primary_modifier (display, entire_binding_mask);
- random_screen = display->screens->data;
- random_xwindow = random_screen->no_focus_window;
XQueryPointer (display->xdisplay,
- random_xwindow, /* some random window */
+ display->no_focus_window, /* some random window */
&root, &child,
&root_x, &root_y,
&x, &y,