<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/wayland.h, branch 1.0.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-12-05T18:35:34Z</updated>
<entry>
<title>wayland: include more output (monitor) details in the log output</title>
<updated>2019-12-05T18:35:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-05T18:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=db1d913ba8ce586b6597b093f192ae1af8b844dd'/>
<id>urn:sha1:db1d913ba8ce586b6597b093f192ae1af8b844dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: use fcft instead of local copy of font.c/font.h</title>
<updated>2019-12-01T12:43:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T12:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd9c28464db8e3f334819ec9d773bf31ed37c088'/>
<id>urn:sha1:fd9c28464db8e3f334819ec9d773bf31ed37c088</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: track current xcursor, and don't update if same</title>
<updated>2019-11-30T11:09:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-30T11:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a87b39f6eb18b5b3674afcb3f24816d933eab319'/>
<id>urn:sha1:a87b39f6eb18b5b3674afcb3f24816d933eab319</id>
<content type='text'>
We may have many windows open, which tries to update/change the
xcursor at various points.

Track which cursor is currently loaded, regardless of which window it
was set by. If someone tries to load that very same xcursor again,
simply skip it.

One example is when we've moused over a window that does *not* have
keyboard focus, and then the user clicks, or by some other mean gives
that window keyboard focus. In many cases it will then try to set the
same cursor again (most of the times, the cursor is the same
regardless of keyboard focus, but not always).
</content>
</entry>
<entry>
<title>terminal: use the 'text' xcursor pointer whenever selection is possible</title>
<updated>2019-11-28T18:35:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-28T18:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0dd37f0a364fc36284dad17e8fb1345714261a4a'/>
<id>urn:sha1:0dd37f0a364fc36284dad17e8fb1345714261a4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: calculate output PPI (pixels-per-inch)</title>
<updated>2019-11-26T18:02:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-26T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=204bfa02f453dc931b0491f0f6f8313ad9183944'/>
<id>urn:sha1:204bfa02f453dc931b0491f0f6f8313ad9183944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: call user-defined callback when destroying terminal</title>
<updated>2019-11-01T19:34:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T19:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1e41a25f00aab1038486cff37e286fd5c729a72b'/>
<id>urn:sha1:1e41a25f00aab1038486cff37e286fd5c729a72b</id>
<content type='text'>
main uses this to get the exit code of the terminal.
</content>
</entry>
<entry>
<title>wayland: wayl_win_destroy(): unmap windows before destroying</title>
<updated>2019-11-01T19:19:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T19:19:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95b7c405d464b0eb04141cbbfe077371f5a9d47c'/>
<id>urn:sha1:95b7c405d464b0eb04141cbbfe077371f5a9d47c</id>
<content type='text'>
This will trigger e.d. keyboard_leave() and wl_pointer_leave() events,
which ensures there aren't any references to the destroyed window from
the global wayland struct.

Call wl_display_roundtrip() to trigger those events *before* we
destroy the window.
</content>
</entry>
<entry>
<title>wayland: temporary: track last terminal's exit value</title>
<updated>2019-10-30T19:25:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-30T19:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1ed78ab44303b5123a8c6acb6b624da84d0268f0'/>
<id>urn:sha1:1ed78ab44303b5123a8c6acb6b624da84d0268f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: track multiple terminals</title>
<updated>2019-10-30T19:02:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-30T19:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=445bbe3469b057c8b518f7c787527128f724cc1b'/>
<id>urn:sha1:445bbe3469b057c8b518f7c787527128f724cc1b</id>
<content type='text'>
The wayland 'term' member is gone and replaced by a list,
'terms'. This list contains all currently running terminal (windows).
</content>
</entry>
<entry>
<title>wayland: move reload_cursor_theme() and update_cursor_surface() to wayland</title>
<updated>2019-10-27T18:36:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T18:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=957fb255594d634fdd1c2458546babd2b08114a0'/>
<id>urn:sha1:957fb255594d634fdd1c2458546babd2b08114a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: implement wayl_init()</title>
<updated>2019-10-27T18:08:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T18:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=61cc8c3c55767556b81474eebe6712f7e9b42706'/>
<id>urn:sha1:61cc8c3c55767556b81474eebe6712f7e9b42706</id>
<content type='text'>
Wayland instantiation is now done by the wayland backend, not in main.
</content>
</entry>
<entry>
<title>term: wayland struct is now not a part of the terminal struct</title>
<updated>2019-10-27T17:51:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T17:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1adab32906b5455781921b779019a6d3f0e4fe56'/>
<id>urn:sha1:1adab32906b5455781921b779019a6d3f0e4fe56</id>
<content type='text'>
We do however need access to it, so provide a pointer. The difference
is that now we can have a *single* wayland instance, but multiple
terminal instances.
</content>
</entry>
<entry>
<title>wayland: pull in sys/time.h, for 'struct timeval'</title>
<updated>2019-10-27T17:46:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T17:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=33e4b8a5b8ceef76156ef5ae179b8e4393457ff9'/>
<id>urn:sha1:33e4b8a5b8ceef76156ef5ae179b8e4393457ff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: change all wayland callbacks to take a wayland pointer</title>
<updated>2019-10-27T17:43:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T17:43:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f0b1f94c284e76ff1579e7f34f4a7418ef98b02'/>
<id>urn:sha1:9f0b1f94c284e76ff1579e7f34f4a7418ef98b02</id>
<content type='text'>
Instead of passing the terminal to the wayland callbacks, pass a
'struct wayland' pointer.
</content>
</entry>
<entry>
<title>wayland: add back-pointer to terminal</title>
<updated>2019-10-27T16:13:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T16:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=eda04d0560f3009a3e9e16317e44a4bb5b9cf35a'/>
<id>urn:sha1:eda04d0560f3009a3e9e16317e44a4bb5b9cf35a</id>
<content type='text'>
This can, in the future, be extended to e.g. a list, to support
multiple windows.
</content>
</entry>
<entry>
<title>kbd: move into wayland</title>
<updated>2019-10-27T16:10:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T16:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c9455d5f211616ce3750e58a472e1b5a4251b8be'/>
<id>urn:sha1:c9455d5f211616ce3750e58a472e1b5a4251b8be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: move clipboard/primary structs into the wayland struct</title>
<updated>2019-10-27T15:15:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T15:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5ca1ee701bc4297180fa9c248d9f8810ef82550c'/>
<id>urn:sha1:5ca1ee701bc4297180fa9c248d9f8810ef82550c</id>
<content type='text'>
These are application global and very wayland specific
</content>
</entry>
<entry>
<title>wayland: implement wayl_win_destroy()</title>
<updated>2019-10-27T15:01:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T15:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9e6c28f5b6b0be6788d91bf3233323362cac732a'/>
<id>urn:sha1:9e6c28f5b6b0be6788d91bf3233323362cac732a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: implement wayl_destroy()</title>
<updated>2019-10-27T14:57:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T14:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=942ff566a2e8f9f4dc866b74ba10bce838a0d606'/>
<id>urn:sha1:942ff566a2e8f9f4dc866b74ba10bce838a0d606</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: move wayland struct definitions to a separate file</title>
<updated>2019-10-27T12:06:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T12:06:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0120c57ed5a8189508d315e4c650f54572a935a1'/>
<id>urn:sha1:0120c57ed5a8189508d315e4c650f54572a935a1</id>
<content type='text'>
</content>
</entry>
</feed>
