[mutter] Revert "screen: Add an introspectible wrapper for find_monitor_for_rect"
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Revert "screen: Add an introspectible wrapper for find_monitor_for_rect"
- Date: Wed, 6 Feb 2013 05:02:39 +0000 (UTC)
commit f37dd25e920034612074d86e2131ca1ba71c2aea
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Feb 6 00:02:04 2013 -0500
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, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index 4b41dc3..7a39496 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 ad64762..f614ba1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]