Keep maximized when going fullscreen.
Author: Fixes: Bug#19427 * xterm.c (do_ewmh_fullscreen): Don't remove maximized_horz/vert when going to fullscreen (Bug#19427).
This commit is contained in:
parent
749813e9d4
commit
8e818d17d2
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-12-22 Jan Djärv <jan.h.d@swipnet.se>
|
||||||
|
|
||||||
|
* xterm.c (do_ewmh_fullscreen): Don't remove maximized_horz/vert
|
||||||
|
when going to fullscreen (Bug#0x180004f).
|
||||||
|
|
||||||
2014-12-18 Eli Zaretskii <eliz@gnu.org>
|
2014-12-18 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* window.c (Fwindow_body_width): Doc fix. (Bug#19395)
|
* window.c (Fwindow_body_width): Doc fix. (Bug#19395)
|
||||||
|
|
|
@ -8371,11 +8371,9 @@ do_ewmh_fullscreen (struct frame *f)
|
||||||
switch (f->want_fullscreen)
|
switch (f->want_fullscreen)
|
||||||
{
|
{
|
||||||
case FULLSCREEN_BOTH:
|
case FULLSCREEN_BOTH:
|
||||||
if (cur == FULLSCREEN_WIDTH || cur == FULLSCREEN_MAXIMIZED
|
if (cur != FULLSCREEN_BOTH)
|
||||||
|| cur == FULLSCREEN_HEIGHT)
|
set_wm_state (frame, 1, dpyinfo->Xatom_net_wm_state_fullscreen,
|
||||||
set_wm_state (frame, 0, dpyinfo->Xatom_net_wm_state_maximized_horz,
|
None);
|
||||||
dpyinfo->Xatom_net_wm_state_maximized_vert);
|
|
||||||
set_wm_state (frame, 1, dpyinfo->Xatom_net_wm_state_fullscreen, None);
|
|
||||||
break;
|
break;
|
||||||
case FULLSCREEN_WIDTH:
|
case FULLSCREEN_WIDTH:
|
||||||
if (cur == FULLSCREEN_BOTH || cur == FULLSCREEN_HEIGHT
|
if (cur == FULLSCREEN_BOTH || cur == FULLSCREEN_HEIGHT
|
||||||
|
|
Loading…
Add table
Reference in a new issue