From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74496: 30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts Date: Sat, 07 Dec 2024 11:11:08 +0000 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12011"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 74496@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 12:12:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJsjX-0002zW-Gv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 12:12:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJsjG-0000pd-B1; Sat, 07 Dec 2024 06:12:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJsjD-0000pG-Jo for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 06:12:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJsjC-0000a9-D1 for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 06:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=Jze1cA8v4Gid5Yo/7g9p/Cq9XrLJKfB5zyYIBYmjNo0=; b=rBLfga6R9GgDHUxg2FUYIBvQmwg27W7kf3VRw1k4vPVs1//Vp6tFbX87slF6Y/+jCev0sAVnyMLFBnVL0ZPtRVfjBqDn0B+A3L9CbB2GLsuWHe3/8hfxt9amIJJu7yaq286dOjwWdmn3yE4zUWEapfFtm6T0VhbOzeZ+2Qo52eveE/yMt/S6tbXdLIlfsPJIz0eInVVvL5PR/wR9GZYgjpGfCzenR+S6l3X+Lxdmn6GgZSay+rxJfvFNDxSYNwuVSjqPa9GZF7TjgJ5AHMEzG+tgXedIH/n8d3TcTa051rI1kszf/YDaLEEQa9PCLcIpFv046mmUDsJ8S1cywE4zEQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJsjC-0006WA-01 for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 11:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74496 X-GNU-PR-Package: emacs Original-Received: via spool by 74496-submit@debbugs.gnu.org id=B74496.173356987624969 (code B ref 74496); Sat, 07 Dec 2024 11:12:01 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 7 Dec 2024 11:11:16 +0000 Original-Received: from localhost ([127.0.0.1]:45547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJsiR-0006Uf-Q7 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 06:11:16 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:62730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJsiN-0006UQ-Jl for 74496@debbugs.gnu.org; Sat, 07 Dec 2024 06:11:14 -0500 Original-Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 4B7BB9PA013223 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 7 Dec 2024 11:11:10 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4B7BB8Cx001547; Sat, 7 Dec 2024 11:11:08 GMT In-Reply-To: <0c5b91ad-8f43-42ea-bbeb-5b9cdcb262a6@gmx.at> (message from martin rudalics on Wed, 4 Dec 2024 10:52:37 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296535 Archived-At: martin rudalics writes: > Maybe you can try the attached diff (it's against the release version) > and set breakpoints at the four lines I marked with a > > // break-here > > comment. Start gdb via run -Q, do F11 and restart CWTM. Here is the backtrace. 1 (gdb) info b 2 Num Type Disp Enb Address What 3 1 breakpoint keep y 0x000000000042edfd in gui_set_frame_parameters_1 at /u/xxx/src/emacs/29.4/src/frame.c:4461 4 2 breakpoint keep y 0x00000000004cf6fb in x_net_wm_state at /u/xxx/src/emacs/29.4/src/xterm.c:17504 5 3 breakpoint keep y 0x00000000004cf5c1 in x_handle_net_wm_state at /u/xxx/src/emacs/29.4/src/xterm.c:27249 6 4 breakpoint keep y 0x00000000004e52b5 in x_check_fullscreen at /u/xxx/src/emacs/29.4/src/xterm.c:27324 7 (gdb) run -Q 8 Starting program: /u/xxx/src/emacs/build-29-0/src/emacs -Q 9 [New LWP 7051 of process 24519] 10 [New LWP 795 of process 24519] 11 [New LWP 1577 of process 24519] 12 [New process 24519] 13 [New process 24519] 14 15 Thread 1 "" hit Breakpoint 2, x_net_wm_state (f=f@entry=0x71354096ac10, window=) at /u/xxx/src/emacs/29.4/src/xterm.c:17504 16 17504 store_frame_param (f, Qfullscreen, lval); // break here 17 (gdb) bt 18 #0 x_net_wm_state (f=f@entry=0x71354096ac10, window=) at /u/xxx/src/emacs/29.4/src/xterm.c:17504 19 #1 0x00000000004e9343 in handle_one_xevent (dpyinfo=dpyinfo@entry=0x713541033000, event=event@entry=0x7f7fff03c0d0, finish=finish@entry=0x7f7fff03c0cc, hold_quit=hold_quit@entry=0x7f7fff03c1c0) at /u/xxx/src/emacs/29.4/src/xterm.c:20998 20 #2 0x00000000004f06cd in XTread_socket (terminal=, hold_quit=0x7f7fff03c1c0) at /u/xxx/src/emacs/29.4/src/xterm.c:24812 21 #3 0x000000000051b7bd in gobble_input () at /u/xxx/src/emacs/29.4/src/keyboard.c:7427 22 #4 0x000000000051b8d1 in handle_async_input () at /u/xxx/src/emacs/29.4/src/keyboard.c:7658 23 #5 0x000000000051b8e7 in process_pending_signals () at /u/xxx/src/emacs/29.4/src/keyboard.c:7672 24 #6 0x00000000005cb17a in wait_reading_process_output (time_limit=, nsecs=nsecs@entry=0, read_kbd=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at /u/xxx/src/emacs/29.4/src/process.c:5304 25 #7 0x00000000004282e2 in sit_for (timeout=timeout@entry=0x7a, reading=reading@entry=true, display_option=display_option@entry=1) at /u/xxx/src/emacs/29.4/src/dispnew.c:6263 26 #8 0x000000000051e53b in read_char (commandflag=1, map=map@entry=0x713540069963, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7f7fff03c6bb, end_time=end_time@entry=0x0) at /u/xxx/src/emacs/29.4/src/lisp.h:767 27 #9 0x000000000051f5ec in read_key_sequence (keybuf=keybuf@entry=0x7f7fff03c790, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at /u/xxx/src/emacs/29.4/src/keyboard.c:10084 28 #10 0x000000000052090f in command_loop_1 () at /u/xxx/src/emacs/29.4/src/keyboard.c:1384 29 #11 0x0000000000583676 in internal_condition_case (bfun=bfun@entry=0x520748 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x5166aa ) at /u/xxx/src/emacs/29.4/src/eval.c:1474 30 #12 0x00000000005113fb in command_loop_2 (handlers=handlers@entry=0x90) at /u/xxx/src/emacs/29.4/src/keyboard.c:1133 31 #13 0x00000000005835ef in internal_catch (tag=tag@entry=0xfe40, func=func@entry=0x5113dd , arg=arg@entry=0x90) at /u/xxx/src/emacs/29.4/src/eval.c:1197 32 #14 0x00000000005113ba in command_loop () at /u/xxx/src/emacs/29.4/src/keyboard.c:1111 33 #15 0x00000000005162b8 in recursive_edit_1 () at /u/xxx/src/emacs/29.4/src/keyboard.c:720 34 #16 0x00000000005165dd in Frecursive_edit () at /u/xxx/src/emacs/29.4/src/keyboard.c:803 35 #17 0x0000000000510982 in main (argc=2, argv=0x7f7fff03cad8) at /u/xxx/src/emacs/29.4/src/emacs.c:2521 -- vl