--- src/screenshot-utils.c	2013-10-14 15:57:57.524680181 +0200
+++ src/screenshot-utils.c	2013-10-14 16:00:48.067689471 +0200
@@ -36,6 +36,8 @@
 #include "screenshot-config.h"
 #include "screenshot-utils.h"
 
+GdkRectangle current_rectangle;
+
 static GdkWindow *
 screenshot_find_active_window (void)
 {
@@ -356,6 +358,11 @@
       current_window = gdk_window_get_toplevel (current_window);
     }
 
+  /* now that we have the window, get a rectangle from it */
+  current_rectangle.width = gdk_window_get_width (current_window);
+  current_rectangle.height = gdk_window_get_height (current_window);
+  gdk_window_get_position (current_window, &current_rectangle.x, &current_rectangle.y);
+
   return current_window;
 }
 
@@ -605,10 +612,10 @@
 
   if (screenshot_config->take_window_shot)
     {
-      method_name = "ScreenshotWindow";
-      method_params = g_variant_new ("(bbbs)",
-                                     screenshot_config->include_border,
-                                     screenshot_config->include_pointer,
+      method_name = "ScreenshotArea";
+      method_params = g_variant_new ("(iiiibs)",
+                                     current_rectangle.x, current_rectangle.y,
+                                     current_rectangle.width, current_rectangle.height,
                                      TRUE, /* flash */
                                      filename);
     }
