$OpenBSD: patch-include_floating_h,v 1.1 2012/01/25 10:29:30 dcoppa Exp $

Bugfix: fix coordinates when the rect of an output changes
(upstream git commit 077d2433a7186550ee349284b1849ec2048af69c)

--- include/floating.h.orig	Sat Dec 24 16:25:08 2011
+++ include/floating.h	Mon Jan 23 10:27:21 2012
@@ -146,4 +146,11 @@ void drag_pointer(Con *con, const xcb_button_press_eve
  */
 void floating_reposition(Con *con, Rect newrect);
 
+/**
+ * Fixes the coordinates of the floating window whenever the window gets
+ * reassigned to a different output (or when the output's rect changes).
+ *
+ */
+void floating_fix_coordinates(Con *con, Rect *old_rect, Rect *new_rect);
+
 #endif
