From f37dd25e920034612074d86e2131ca1ba71c2aea Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 6 Feb 2013 00:02:04 -0500 Subject: [PATCH] Revert "screen: Add an introspectible wrapper for find_monitor_for_rect" This reverts commit 3900aa10f85771903d20dfb2bfd6d74ed82050e6. --- src/core/screen.c | 8 -------- src/meta/screen.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/src/core/screen.c b/src/core/screen.c index 4b41dc3a6..7a39496fa 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -2040,14 +2040,6 @@ meta_screen_get_monitor_for_window (MetaScreen *screen, return meta_screen_get_monitor_for_rect (screen, &window_rect); } -int -meta_screen_get_monitor_index_for_rect (MetaScreen *screen, - MetaRectangle *rect) -{ - const MetaMonitorInfo *monitor = meta_screen_get_monitor_for_rect (screen, rect); - return monitor->number; -} - const MetaMonitorInfo* meta_screen_get_monitor_neighbor (MetaScreen *screen, int which_monitor, diff --git a/src/meta/screen.h b/src/meta/screen.h index ad647624a..f614ba147 100644 --- a/src/meta/screen.h +++ b/src/meta/screen.h @@ -81,10 +81,6 @@ int meta_screen_get_current_monitor (MetaScreen *screen); void meta_screen_get_monitor_geometry (MetaScreen *screen, int monitor, MetaRectangle *geometry); - -int meta_screen_get_monitor_index_for_rect (MetaScreen *screen, - MetaRectangle *rect); - void meta_screen_focus_default_window (MetaScreen *screen, guint32 timestamp);