[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Emacs's set-frame-size can not work well with gnome-shell?
From:
martin rudalics
Subject:
Re: Emacs's set-frame-size can not work well with gnome-shell?
Date:
2020年1月30日 19:04:32 +0100
>> around line 8927 in xterm.c and do "n" after that breakpoint is hit,
>> what do you get if you do p f now?
>
> So. Putting a breakpoint on that line gives me:
>
> Thread 1 "emacs" hit Breakpoint 4, handle_one_xevent (dpyinfo=0x555555fc5000,
> event=0x7fffffffcbb0, finish=0x555555b9df30 <current_finish>,
hold_quit=0x7fffffffce30)
> at xterm.c:8923
> 8923 f = x_top_window_to_frame (dpyinfo,
configureEvent.xconfigure.window);
> (gdb) p f
> 1ドル = (struct frame *) 0x0
> (gdb) print
> 2ドル = (struct frame *) 0x0
> (gdb) xframe
> 3ドル = (struct frame *) 0x0
> Cannot access memory at address 0x8
>
> but that probably makes sense, since the var has not been assigned yet.
That's why I said to do "n" after that breakpoint is hit ;-)
> Putting a breakpoint at the next statement gives me this:
>
> Thread 1 "emacs" hit Breakpoint 5, handle_one_xevent (dpyinfo=0x555555fc5000,
> event=<optimized out>, finish=0x555555b9df30 <current_finish>,
hold_quit=0x7fffffffce30)
> at xterm.c:8929
> 8929 block_input ();
> (gdb) p f
> 4ドル = (struct frame *) 0x5555560a5aa0
> (gdb) xframe
> 5ドル = (struct frame *) 0x5555560a5aa0
> "test child-frame"
OK. But no resizing after that ...
martin
- Re: Emacs's set-frame-size can not work well with gnome-shell?, (continued)
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月26日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月26日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月26日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月26日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月28日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月29日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月30日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月30日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月30日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月30日
- Re: Emacs's set-frame-size can not work well with gnome-shell?,
martin rudalics <=
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月26日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月22日
- Re:Re: Emacs's set-frame-size can not work well with gnome-shell? , tumashu, 2020年01月22日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月25日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月15日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月16日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , Dmitry Gutov, 2020年01月16日
- Re:Re: Emacs's set-frame-size can not work well with gnome-shell? , tumashu, 2020年01月11日
- Re: Emacs's set-frame-size can not work well with gnome-shell? , martin rudalics, 2020年01月11日
Re: Emacs's set-frame-size can not work well with gnome-shell? , tumashu, 2020年01月22日