<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/devdraw, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>Custom shortcuts and other minor changes</title>
<updated>2026-02-24T21:55:48+00:00</updated>
<author>
<name>bt</name>
<email>bt@rctt.net</email>
</author>
<published>2026-02-20T15:04:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=e14493abb20ab0c808f109bb56aaf141ad08d178'/>
<id>e14493abb20ab0c808f109bb56aaf141ad08d178</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: allow resize in xattach</title>
<updated>2026-02-05T18:26:53+00:00</updated>
<author>
<name>user</name>
<email>user@my.domain</email>
</author>
<published>2026-02-05T16:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=a39606e3241540482afd13e93d7f34defa7d74ce'/>
<id>a39606e3241540482afd13e93d7f34defa7d74ce</id>
<content type='text'>
The created window in xattach is missing the StructureNotifyMask,
if the WM does resize the window before mapping (like tiling WMs
do), the client will not get notified (and XGetWindowAttributes
in the same function will not get updated values)

Reproducible by starting acme in e.g. dwm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The created window in xattach is missing the StructureNotifyMask,
if the WM does resize the window before mapping (like tiling WMs
do), the client will not get notified (and XGetWindowAttributes
in the same function will not get updated values)

Reproducible by starting acme in e.g. dwm.
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: repair incomplete repainting</title>
<updated>2026-01-31T14:37:01+00:00</updated>
<author>
<name>MvA</name>
<email>vanattenmark@gmail.com</email>
</author>
<published>2026-01-31T08:08:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=b3741e6ce39cdcdb09485c088034b723ed023b0b'/>
<id>b3741e6ce39cdcdb09485c088034b723ed023b0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/devdraw: handle X11 selections better</title>
<updated>2025-11-04T12:10:14+00:00</updated>
<author>
<name>Scott Schwartz</name>
<email>scott7z123@gmail.com</email>
</author>
<published>2025-11-04T04:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=37cd522b0a79b4f6b2b5d4b8d27667dea44f71d4'/>
<id>37cd522b0a79b4f6b2b5d4b8d27667dea44f71d4</id>
<content type='text'>
x11-screen.c accepts selection targets with the MIME type
"text/plain;charset-UTF8", but it should do so case insensitively. The
current code draws an error when working with xfce4-terminal 1.0.4,
which sends lower case.  To reproduce, run acme, snarf some text, then
paste in the terminal.  acme will report:
acme: cannot handle selection request for 'text/plain;charset=utf-8' (590)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
x11-screen.c accepts selection targets with the MIME type
"text/plain;charset-UTF8", but it should do so case insensitively. The
current code draws an error when working with xfce4-terminal 1.0.4,
which sends lower case.  To reproduce, run acme, snarf some text, then
paste in the terminal.  acme will report:
acme: cannot handle selection request for 'text/plain;charset=utf-8' (590)
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: work around XWayland pointer warping</title>
<updated>2025-10-09T23:37:41+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2025-10-09T23:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=19263a10717840901efc6b1cc2f802e7f5173c55'/>
<id>19263a10717840901efc6b1cc2f802e7f5173c55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: fix dangling else</title>
<updated>2025-10-09T13:29:12+00:00</updated>
<author>
<name>Arusekk</name>
<email>floss@arusekk.pl</email>
</author>
<published>2025-10-09T06:48:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=00754b35a22d491b614fefe5149bcedad1523ef2'/>
<id>00754b35a22d491b614fefe5149bcedad1523ef2</id>
<content type='text'>
Because of a dangling else, after adding a name to an image with 'N',
it was immediately deleted, resulting in Enoname in response to 'n'.

This went mostly unnoticed, since plan9port itself does not use named
images, but it can break external applications like truedraw[1].

[1]: https://git.sr.ht/~arusekk/truedraw

Fixes: c66b52501b63 ("new draw server")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because of a dangling else, after adding a name to an image with 'N',
it was immediately deleted, resulting in Enoname in response to 'n'.

This went mostly unnoticed, since plan9port itself does not use named
images, but it can break external applications like truedraw[1].

[1]: https://git.sr.ht/~arusekk/truedraw

Fixes: c66b52501b63 ("new draw server")
</pre>
</div>
</content>
</entry>
<entry>
<title>config: add $egrep</title>
<updated>2025-07-23T19:44:54+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-07-22T14:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=564d45b5a55adeb48f69fdecb2bf4ed1f909850b'/>
<id>564d45b5a55adeb48f69fdecb2bf4ed1f909850b</id>
<content type='text'>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/devdraw: avoid use of X button state field</title>
<updated>2025-03-29T15:23:26+00:00</updated>
<author>
<name>Roger Peppe</name>
<email>rogpeppe@gmail.com</email>
</author>
<published>2025-03-29T13:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=9da5b4451365e33c4f561d74a99ad5c17ff20fed'/>
<id>9da5b4451365e33c4f561d74a99ad5c17ff20fed</id>
<content type='text'>
This bug is an intermittent annoyance and does not seem likely to be
fixed soon. It means that every so often my acme becomes unusable
because it behaves as if a mouse button is permanently set.

Avoid that issue by keeping track of mouse button state directly.

While we're about it, fix another annoying issue: under Linux the
FocusOut event reset the kstate field but not the kbuttons field,
meaning that the buttons state could inappropriately persist. This
happened occasionally by accident, but was easy to reproduce: with the
mouse button held down, drag outside the window and click Alt-Tab to
switch away from the window. We see a KeyDown event followed by FocusOut
but no KeyUp event.

Change-Id: I3708316478c80c41806d7157ae9929c6cd84b662
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug is an intermittent annoyance and does not seem likely to be
fixed soon. It means that every so often my acme becomes unusable
because it behaves as if a mouse button is permanently set.

Avoid that issue by keeping track of mouse button state directly.

While we're about it, fix another annoying issue: under Linux the
FocusOut event reset the kstate field but not the kbuttons field,
meaning that the buttons state could inappropriately persist. This
happened occasionally by accident, but was easy to reproduce: with the
mouse button held down, drag outside the window and click Alt-Tab to
switch away from the window. We see a KeyDown event followed by FocusOut
but no KeyUp event.

Change-Id: I3708316478c80c41806d7157ae9929c6cd84b662
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: handle shift of real mouse buttons correctly</title>
<updated>2024-06-17T13:28:40+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-06-17T13:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=a2567fcac9851e5cc965a236679f568b0e79cff2'/>
<id>a2567fcac9851e5cc965a236679f568b0e79cff2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>acme: shift button 3 for reverse search</title>
<updated>2024-06-15T14:57:45+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-06-15T14:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=0c79c32675e83ff3d87d5bf52082652d85486a45'/>
<id>0c79c32675e83ff3d87d5bf52082652d85486a45</id>
<content type='text'>
An experiment. Let's see if it's any good.
Also document the Mac conventions in devdraw(3).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An experiment. Let's see if it's any good.
Also document the Mac conventions in devdraw(3).
</pre>
</div>
</content>
</entry>
</feed>
