mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Restore frame's fullheight/fullwidth after exiting from fullboth (Bug#81165)
* src/xterm.c (do_ewmh_fullscreen): Try to restore fullheight/fullwidth states after exiting from fullboth state (Bug#81165).
This commit is contained in:
parent
c12c91563e
commit
a34c29e459
|
|
@ -28133,7 +28133,8 @@ do_ewmh_fullscreen (struct frame *f)
|
|||
|| cur == FULLSCREEN_MAXIMIZED)
|
||||
set_wm_state (frame, false, dpyinfo->Xatom_net_wm_state_fullscreen,
|
||||
dpyinfo->Xatom_net_wm_state_maximized_vert);
|
||||
if (cur != FULLSCREEN_MAXIMIZED || x_frame_normalize_before_maximize)
|
||||
if ((cur != FULLSCREEN_MAXIMIZED && cur != FULLSCREEN_BOTH)
|
||||
|| x_frame_normalize_before_maximize)
|
||||
set_wm_state (frame, true,
|
||||
dpyinfo->Xatom_net_wm_state_maximized_horz, None);
|
||||
}
|
||||
|
|
@ -28153,7 +28154,8 @@ do_ewmh_fullscreen (struct frame *f)
|
|||
|| cur == FULLSCREEN_MAXIMIZED)
|
||||
set_wm_state (frame, false, dpyinfo->Xatom_net_wm_state_fullscreen,
|
||||
dpyinfo->Xatom_net_wm_state_maximized_horz);
|
||||
if (cur != FULLSCREEN_MAXIMIZED || x_frame_normalize_before_maximize)
|
||||
if ((cur != FULLSCREEN_MAXIMIZED && cur != FULLSCREEN_BOTH)
|
||||
|| x_frame_normalize_before_maximize)
|
||||
set_wm_state (frame, true,
|
||||
dpyinfo->Xatom_net_wm_state_maximized_vert, None);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue