<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/src/w32term.c, branch scratch/faster-loaddefs</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Implement `display-monitors-changed-functions' on MS Windows</title>
<updated>2022-05-22T09:15:10+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-05-22T09:15:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ae8b1b8fd476b8c6240c1337c0c51763d4879ac9'/>
<id>ae8b1b8fd476b8c6240c1337c0c51763d4879ac9</id>
<content type='text'>
* src/w32term.c (w32_read_socket): Handle WM_DISPLAYCHANGE by
sending monitor change events.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32term.c (w32_read_socket): Handle WM_DISPLAYCHANGE by
sending monitor change events.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos</title>
<updated>2022-05-15T09:15:06+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2022-05-15T09:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=09674074b57bee74ff1039f8ef08c2dea321c0da'/>
<id>09674074b57bee74ff1039f8ef08c2dea321c0da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some cases of flicker on MS Windows</title>
<updated>2022-04-30T11:03:09+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-30T11:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=2a2b3f583430df8495b566a1dfb1f41c4d61292f'/>
<id>2a2b3f583430df8495b566a1dfb1f41c4d61292f</id>
<content type='text'>
* src/w32term.c (w32_read_socket): Fix typo in check before
flipping buffers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32term.c (w32_read_socket): Fix typo in check before
flipping buffers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix display updating inside the minibuffer on MS Windows</title>
<updated>2022-04-30T10:54:34+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-30T10:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=57447f5ce0a723f698d1515485860ca17ce93960'/>
<id>57447f5ce0a723f698d1515485860ca17ce93960</id>
<content type='text'>
* src/minibuf.c (read_minibuf): Call `w32_flip_buffers_if_dirty'
after changing the cursor position and redisplaying instead of
`flush_frame'.  (bug#55193)

* src/w32term.c (w32_flip_buffers_if_dirty): New function.
* src/w32term.h: Update prototypes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/minibuf.c (read_minibuf): Call `w32_flip_buffers_if_dirty'
after changing the cursor position and redisplaying instead of
`flush_frame'.  (bug#55193)

* src/w32term.c (w32_flip_buffers_if_dirty): New function.
* src/w32term.h: Update prototypes.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * src/w32term.c (w32_read_socket): Add comment for recent change.</title>
<updated>2022-04-30T09:35:48+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2022-04-30T09:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7b7a124afa0a71f4847ddc5a3934b02ab5d46d2c'/>
<id>7b7a124afa0a71f4847ddc5a3934b02ab5d46d2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjustments to double buffering on MS Windows</title>
<updated>2022-04-30T07:52:12+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-30T07:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1321b5989c9a8046ce40b8edf23e3e471d2b334a'/>
<id>1321b5989c9a8046ce40b8edf23e3e471d2b334a</id>
<content type='text'>
* src/w32fns.c (w32_set_inhibit_double_buffering): Add comment
describing double buffering.
(w32_wnd_proc): Respect `w32-disable-double-buffering'.
(globals_of_w32fns): New variable
`w32-disable-double-buffering'.

* src/w32term.c (w32_show_back_buffer): Return immediately if
double buffering is disabled on the frame.
(w32_scroll_run): Use old scrolling code if
`w32-disable-double-buffering' is enabled.
(w32_scroll_bar_clear): Document why we don't clear scroll bars
when double buffering is enabled.
(w32_read_socket): Respect `w32-disable-double-buffering' and
clean up some code.

* src/w32xfns.c (get_frame_dc): Respect
`w32-disable-double-buffering'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32fns.c (w32_set_inhibit_double_buffering): Add comment
describing double buffering.
(w32_wnd_proc): Respect `w32-disable-double-buffering'.
(globals_of_w32fns): New variable
`w32-disable-double-buffering'.

* src/w32term.c (w32_show_back_buffer): Return immediately if
double buffering is disabled on the frame.
(w32_scroll_run): Use old scrolling code if
`w32-disable-double-buffering' is enabled.
(w32_scroll_bar_clear): Document why we don't clear scroll bars
when double buffering is enabled.
(w32_read_socket): Respect `w32-disable-double-buffering' and
clean up some code.

* src/w32xfns.c (get_frame_dc): Respect
`w32-disable-double-buffering'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix releasing the mouse on top of the tool bar on MS Windows</title>
<updated>2022-04-30T05:26:40+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-30T05:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4fb028be6c2de5a556f56bb40a3f948a143cef37'/>
<id>4fb028be6c2de5a556f56bb40a3f948a143cef37</id>
<content type='text'>
* src/w32term.c (w32_read_socket): Don't handle tool bar clicks
specially for button up events if no tool bar item was
previously pressed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32term.c (w32_read_socket): Don't handle tool bar clicks
specially for button up events if no tool bar item was
previously pressed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix palette freeing on MS Windows with double buffering</title>
<updated>2022-04-30T03:33:38+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-30T03:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=402c90c912bfb96a8826854f7e2c1becb085a973'/>
<id>402c90c912bfb96a8826854f7e2c1becb085a973</id>
<content type='text'>
* src/w32term.c (w32_release_paint_buffer): Also release target
DC palette.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32term.c (w32_release_paint_buffer): Also release target
DC palette.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement double buffering on MS Windows</title>
<updated>2022-04-30T03:20:46+00:00</updated>
<author>
<name>Po Lu</name>
</author>
<published>2022-04-29T03:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bc44455f778a256a861c8063e87a662a13f603e1'/>
<id>bc44455f778a256a861c8063e87a662a13f603e1</id>
<content type='text'>
* etc/NEWS: Announce changes.
* src/w32fns.c (w32_set_inhibit_double_buffering): New function.
(w32_wnd_proc):
(Fx_create_frame):
(w32_create_tip_frame): Set `inhibit-double-buffering' parameter.
(w32_frame_parm_handlers): Add new handler.

* src/w32term.c (w32_show_back_buffer):
(w32_release_paint_buffer): New functions.
(w32_frame_up_to_date): Show back buffer if applicable.
(w32_buffer_flipping_unblocked_hook): New hook.
(w32_scroll_run): Use BitBlt to scroll instead of window
scrolling functions.
(w32_scroll_bar_clear): Don't clear scroll bars when double
buffered.
(w32_read_socket): Flip buffers after reading input events in
some cases.
(w32_free_frame_resources): Free back buffer.
(w32_create_terminal): Add new hook.

* src/w32term.h (struct w32_output): New fields for handling
back buffers.
* src/w32xfns.c (select_palette): Fix indentation.
(get_frame_dc, release_frame_dc): Return back buffer when
appropriate and set dirty flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/NEWS: Announce changes.
* src/w32fns.c (w32_set_inhibit_double_buffering): New function.
(w32_wnd_proc):
(Fx_create_frame):
(w32_create_tip_frame): Set `inhibit-double-buffering' parameter.
(w32_frame_parm_handlers): Add new handler.

* src/w32term.c (w32_show_back_buffer):
(w32_release_paint_buffer): New functions.
(w32_frame_up_to_date): Show back buffer if applicable.
(w32_buffer_flipping_unblocked_hook): New hook.
(w32_scroll_run): Use BitBlt to scroll instead of window
scrolling functions.
(w32_scroll_bar_clear): Don't clear scroll bars when double
buffered.
(w32_read_socket): Flip buffers after reading input events in
some cases.
(w32_free_frame_resources): Free back buffer.
(w32_create_terminal): Add new hook.

* src/w32term.h (struct w32_output): New fields for handling
back buffers.
* src/w32xfns.c (select_palette): Fix indentation.
(get_frame_dc, release_frame_dc): Return back buffer when
appropriate and set dirty flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use native image APIs on MS-Windows by default</title>
<updated>2022-03-26T08:52:41+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2022-03-26T08:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4525b4911834a95850e70c48de4c71de44af53de'/>
<id>4525b4911834a95850e70c48de4c71de44af53de</id>
<content type='text'>
* src/w32term.c (syms_of_w32term) &lt;w32-use-native-image-API&gt;: Now
t by default on W2K and later systems, but only on WINDOWSNT
builds.

* etc/NEWS: Announce the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32term.c (syms_of_w32term) &lt;w32-use-native-image-API&gt;: Now
t by default on W2K and later systems, but only on WINDOWSNT
builds.

* etc/NEWS: Announce the change.
</pre>
</div>
</content>
</entry>
</feed>
