]> Dogcows Code - chaz/openbox/commitdiff
fix undermouse placement
authorDana Jansens <danakj@orodu.net>
Wed, 18 Apr 2007 17:18:16 +0000 (17:18 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 18 Apr 2007 17:18:16 +0000 (17:18 +0000)
openbox/place.c

index ada0d7c305c567c846dacd27e487b3e9f211aab6..6d36e1bd43ecbd0539f9b1c6423e24b16cb3c875 100644 (file)
@@ -2,7 +2,7 @@
 
    place.c for the Openbox window manager
    Copyright (c) 2006        Mikael Magnusson
-   Copyright (c) 2003        Ben Jansens
+   Copyright (c) 2003-2007   Dana Jansens
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -370,6 +370,7 @@ static gboolean place_under_mouse(ObClient *client, gint *x, gint *y)
     Rect *area;
 
     area = pick_pointer_head(client);
+    screen_pointer_pos(&px, &py);
 
     l = area->x;
     t = area->y;
This page took 0.023077 seconds and 4 git commands to generate.