summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-01-31 07:16:34 -0500
committerlukefromdc <[email protected]>2019-01-31 20:00:19 +0000
commitfad23c9979d3ba04f377eb0704b6d78b9ebf43c4 (patch)
treeab1099b7ca988bbc42906ea6ab0095574240ac93 /src/core/window.c
parent8abba9a150e4004004609ff7a1c72a188f170d5f (diff)
downloadmarco-fad23c9979d3ba04f377eb0704b6d78b9ebf43c4.tar.bz2
marco-fad23c9979d3ba04f377eb0704b6d78b9ebf43c4.tar.xz
screen: Remove get_current_monitor in favor of get_current_xinerama
Since xinerama already contains information on the monitor and its rectangle, there is no need to go through Gdk to get this information again.
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/window.c b/src/core/window.c
index df8da1d3..485afbc1 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -7197,8 +7197,8 @@ update_move (MetaWindow *window,
* inside edge, because we don't want to force users to maximize
* windows they are placing near the top of their screens.
*
- * The "current" idea of meta_window_get_work_area_current_monitor() and
- * meta_screen_get_current_monitor() is slightly different: the former
+ * The "current" idea of meta_window_get_work_area_for_xinerama() and
+ * meta_screen_get_current_xinerama() is slightly different: the former
* refers to the monitor which contains the largest part of the window,
* the latter to the one where the pointer is located.
*/