]> git.sur5r.net Git - i3/i3/blobdiff - include/floating.h
Bugfix: Fix coordinates when the rect of an output changes (Thanks Paul)
[i3/i3] / include / floating.h
index b6c7c6e37176b4657f7ad66fb619f29071257be0..43137c9c7ed47ca174b850b1f54296760b2050b2 100644 (file)
@@ -146,4 +146,11 @@ void drag_pointer(Con *con, const xcb_button_press_event_t *event,
  */
 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