Subject: Re: bug#31650: 26.1; Desktop mode adds wm stickiness to emacs windows.

From: martin rudalics <[email-masked]>
Date: Wed, 30 May 2018 14:37:40 +0200

> Now, this is interesting.

Unfortunately so.

 > I start emacs -Q. The frame comes up and isn't sticky.
 >
 > Now I evaluate your code from above in the scratch buffer. It returns
 > nil. _But_: It also puts the frame into sticky mode!

Does it also make the frame sticky when with emacs -Q you simply
evaluate

       (set-frame-parameter frame 'sticky nil)))

If so, then it would be helpful to debug x_set_sticky, set_wm_state,
x_send_client_event and x_fill_property_data to know which value gets
propagated there.  As it stands, it seems that we always turn on
stickyness when setting this frame parameter to nil, so somehow the
chain above seems to corrupt it.

Thanks, martin