Skip to content

Commit c845b36

Browse files
authored
Fix "Center window in screen" behavior (#623)
Fixes #622
1 parent e711ae4 commit c845b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/keybindings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3162,7 +3162,7 @@ handle_move_to_center (MetaDisplay *display,
31623162
MetaRectangle work_area;
31633163
MetaRectangle frame_rect;
31643164

3165-
meta_window_get_work_area_all_monitors (window, &work_area);
3165+
meta_window_get_work_area_current_monitor (window, &work_area);
31663166
meta_window_get_frame_rect (window, &frame_rect);
31673167

31683168
meta_window_move_frame (window,

0 commit comments

Comments
 (0)