We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed8fa4 commit 6365649Copy full SHA for 6365649
src/core/keybindings.c
@@ -2652,12 +2652,16 @@ handle_move_to_center (MetaDisplay *display,
2652
XEvent *event,
2653
MetaKeyBinding *binding)
2654
{
2655
+ const MetaXineramaScreenInfo* current;
2656
MetaRectangle work_area;
2657
MetaRectangle outer;
2658
int orig_x, orig_y;
2659
int frame_width, frame_height;
2660
- meta_window_get_work_area_all_xineramas (window, &work_area);
2661
+ current = meta_screen_get_xinerama_for_window(screen, window);
2662
+ meta_window_get_work_area_for_xinerama (window,
2663
+ current->number,
2664
+ &work_area);
2665
meta_window_get_outer_rect (window, &outer);
2666
meta_window_get_position (window, &orig_x, &orig_y);
2667
0 commit comments