diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2018-06-16 19:39:26 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2018-06-16 19:39:26 +0300 |
commit | c5dd4a734174ec0ebfe8919bd88580d7f1997c03 (patch) | |
tree | 30cf11e48e6b562f3b391359634d68f20cce6c5a /src/core/keybindings.c | |
parent | aef654c8c623132f55c19994c2f59164e2781507 (diff) | |
download | metacity-c5dd4a734174ec0ebfe8919bd88580d7f1997c03.tar.gz |
refer to monitors as "monitors" rather than "xineramas"
Follow mutter and rename xineramas to monitors.
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r-- | src/core/keybindings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 042c58d1..48a2066e 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -2448,7 +2448,7 @@ handle_move_to_corner_backend (MetaDisplay *display, int new_x, new_y; int frame_width, frame_height; - meta_window_get_work_area_all_xineramas (window, &work_area); + meta_window_get_work_area_all_monitors (window, &work_area); meta_window_get_outer_rect (window, &outer); meta_window_get_position (window, &orig_x, &orig_y); @@ -2571,7 +2571,7 @@ handle_move_to_center (MetaDisplay *display, int orig_x, orig_y; int frame_width, frame_height; - meta_window_get_work_area_all_xineramas (window, &work_area); + meta_window_get_work_area_all_monitors (window, &work_area); meta_window_get_outer_rect (window, &outer); meta_window_get_position (window, &orig_x, &orig_y); @@ -3032,10 +3032,10 @@ handle_toggle_tiled (MetaDisplay *display, MetaKeyBinding *binding, gpointer dummy) { - const MetaXineramaScreenInfo *monitor; + const MetaMonitorInfo *monitor; MetaTileMode mode = binding->handler->data; - monitor = meta_screen_get_current_xinerama (window->screen); + monitor = meta_screen_get_current_monitor (window->screen); if ((META_WINDOW_TILED_LEFT (window) && mode == META_TILE_LEFT) || (META_WINDOW_TILED_RIGHT (window) && mode == META_TILE_RIGHT)) |