From unknown Sun Jun 22 17:09:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4523 <4523@debbugs.gnu.org> To: bug#4523 <4523@debbugs.gnu.org> Subject: Status: 23.1.50; Cannot set Motif Hints (Reopen of bug#4363) Reply-To: bug#4523 <4523@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:09:52 +0000 retitle 4523 23.1.50; Cannot set Motif Hints (Reopen of bug#4363) reassign 4523 emacs submitter 4523 Ulrich Neumerkel severity 4523 normal thanks From ulrich@complang.tuwien.ac.at Tue Sep 22 11:10:42 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Sep 2009 18:10:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8MIAfSP031133 for ; Tue, 22 Sep 2009 11:10:42 -0700 Received: from mail.gnu.org ([199.232.76.166]:59107 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mq9p2-0004qi-Nq for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 14:10:40 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mq9ox-0005AH-45 for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 14:10:40 -0400 Received: from a4.complang.tuwien.ac.at ([128.130.173.65]:37765) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mq9ow-00059r-DJ for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 14:10:34 -0400 Received: from ulrich by a4.complang.tuwien.ac.at with local (Exim 4.63) (envelope-from ) id 1Mq9os-0006Ae-T7 for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 20:10:30 +0200 To: emacs-pretest-bug@gnu.org Subject: 23.1.50; Cannot set Motif Hints (Reopen of bug#4363) Message-Id: From: Ulrich Neumerkel Date: Tue, 22 Sep 2009 20:10:30 +0200 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) --text follows this line-- There is no way to set Motif Hints like the nodecoration hint which is needed to go fullscreen with the qvwm windowmanager. I need this for older IGEL-X-Terminals were qvwm is preinstalled. Unfortunatly Emacs still needs "manual" customization going into C-sources and guessing where those hints should be put. That is not everybody's turf. I try to avoid that myself delaying upgrades by years. Last time I upgraded was 2002/2003. Everytime the relevant files change a bit so it takes time to adjust. I wonder how other people do that. At least some "better defined" way as simply patching sources manually would be nice. Maybe there is no need to put Motif hints by default. But it would be very helpful to avoid any customization that goes beyond .emacs.el editing. From jan.h.d@swipnet.se Sat Nov 14 10:57:33 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Nov 2009 18:57:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAEIvVag024430 for ; Sat, 14 Nov 2009 10:57:33 -0800 Received: from mail.gnu.org ([199.232.76.166]:52335 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N9NoQ-0004Hm-RY for emacs-pretest-bug@gnu.org; Sat, 14 Nov 2009 13:57:30 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N9NoP-0003Na-Nu for emacs-pretest-bug@gnu.org; Sat, 14 Nov 2009 13:57:30 -0500 Received: from proxy3.bredband.net ([195.54.101.73]:46625) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9NoP-0003NG-Co for emacs-pretest-bug@gnu.org; Sat, 14 Nov 2009 13:57:29 -0500 Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA00DE4F11 for emacs-pretest-bug@gnu.org; Sat, 14 Nov 2009 19:57:28 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AopZAIeM/kpV4S1uPGdsb2JhbACBTYgIkj8BAQEBN7ZEhDwEjDg X-IronPort-AV: E=Sophos;i="4.44,742,1249250400"; d="scan'208";a="3531410" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 14 Nov 2009 19:57:27 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 0C1F37FA07B; Sat, 14 Nov 2009 19:57:27 +0100 (CET) Message-ID: <4AFEFD96.4010207@swipnet.se> Date: Sat, 14 Nov 2009 19:57:26 +0100 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Ulrich Neumerkel , 4523@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org, 4523-done@debbugs.gnu.org Subject: Re: bug#4523: 23.1.50; Cannot set Motif Hints (Reopen of bug#4363) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Ulrich Neumerkel skrev: > --text follows this line-- > > There is no way to set Motif Hints like the nodecoration hint which is > needed to go fullscreen with the qvwm windowmanager. I need this for > older IGEL-X-Terminals were qvwm is preinstalled. > > Unfortunatly Emacs still needs "manual" customization going into > C-sources and guessing where those hints should be put. That is not > everybody's turf. I try to avoid that myself delaying upgrades by > years. Last time I upgraded was 2002/2003. Everytime the relevant > files change a bit so it takes time to adjust. I wonder how other > people do that. > > At least some "better defined" way as simply patching sources manually > would be nice. Maybe there is no need to put Motif hints by default. > But it would be very helpful to avoid any customization that goes > beyond .emacs.el editing. > Motif wm hits is just a property with 5 values. Just use x-change-window-property. (defun make-special-frame (data) (let ((ff (make-frame '((visibility . nil))))) (progn (x-change-window-property "_MOTIF_WM_HINTS" data ff "_MOTIF_WM_HINTS" 32 t) (make-frame-visible ff)))) To make a frame without decoration: (make-special-frame '(2 0 0 0 0)) The first value tells what to change (from /usr/include/Xm/MwmUtils.h): #define MWM_HINTS_FUNCTIONS (1L << 0) #define MWM_HINTS_DECORATIONS (1L << 1) #define MWM_HINTS_INPUT_MODE (1L << 2) #define MWM_HINTS_STATUS (1L << 3) The third is the decorations: #define MWM_DECOR_ALL (1L << 0) #define MWM_DECOR_BORDER (1L << 1) #define MWM_DECOR_RESIZEH (1L << 2) #define MWM_DECOR_TITLE (1L << 3) #define MWM_DECOR_MENU (1L << 4) #define MWM_DECOR_MINIMIZE (1L << 5) #define MWM_DECOR_MAXIMIZE (1L << 6) Note that most wm:s just check MWM_HINTS when the window is mapped, thats why the function creates it invisible at first. If a frame is visible, you must (make-frame-invisble), (x-change-window-properties...) (make-frame-visible). We are not putting in code for old deprecated stuff. There are new and better ways than MOTIF WM HINTS nowdays. Jan D. From unknown Sun Jun 22 17:09:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Dec 2009 15:24:14 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator