unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Oleksandr Gavenko <gavenkoa@gmail.com>,
	martin rudalics <rudalics@gmx.at>
Cc: 19413@debbugs.gnu.org
Subject: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue.
Date: Mon, 22 Dec 2014 09:52:24 +0100	[thread overview]
Message-ID: <5497DBC8.4030408@swipnet.se> (raw)
In-Reply-To: <87k31m5iq3.fsf@gavenkoa.example.com>

Den 2014-12-20 18:33, Oleksandr Gavenko skrev:
>
> I just can summarise investigation:
>
>   * (set-frame-parameter nil 'sticky ...) doesn't work, it always set
>     _NET_WM_STATE(ATOM) to _NET_WM_STATE_STICKY regardless passed value.

(set-frame-parameter nil 'sticky nil) does the right thing on non-buggy window 
managers.  Yours is not onw of them it seems.

>
>   * Emacs code base know nothing about _NET_WM_STATE_SHADED value of
>     _NET_WM_STATE(ATOM).

No.

>
>   * There are no "shaded" (info "(elisp)Window Frame Parameters"). I see:
>     ‘sticky’, ‘visibility’, ‘fullscreen’ (maximized, fullboth, fullwidth,
>     fullheight).

We don't support shaded.

>
>   * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parameter to
>     ~/.emacs.desktop
>

This is the same as (set-frame-parameter nil 'sticky nil), which triggers a 
bug in your window manager.  Thats the whole problem.

	Jan D.






  reply	other threads:[~2014-12-22  8:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 21:46 bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue Oleksandr Gavenko
2014-12-19 21:52 ` Eli Zaretskii
2014-12-19 22:35   ` Oleksandr Gavenko
2014-12-20 10:10 ` martin rudalics
2014-12-20 12:33   ` Oleksandr Gavenko
2014-12-20 14:50     ` martin rudalics
2014-12-20 17:33       ` Oleksandr Gavenko
2014-12-22  8:52         ` Jan Djärv [this message]
2022-01-30 21:16           ` Lars Ingebrigtsen
2022-02-05  6:13             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-06  2:35               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5497DBC8.4030408@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=19413@debbugs.gnu.org \
    --cc=gavenkoa@gmail.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).