<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/input.c, branch 1.2.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-03-06T18:16:54Z</updated>
<entry>
<title>render: never render CSD and/or search box "immediately"</title>
<updated>2020-03-06T18:16:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-06T18:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c5a1af4e534f0f290ea885b221d7d37d020ac994'/>
<id>urn:sha1:c5a1af4e534f0f290ea885b221d7d37d020ac994</id>
<content type='text'>
Handle the CSDs and the search box the same way we handle the main
grid; when we need to redraw them, call
render_refresh_{csd,search}(). This sets a flag that is checked after
each FDM iteration. All actual rendering is done here.

This also ties the commits of the Wayland sub-surfaces to the commit
of the main surface.
</content>
</entry>
<entry>
<title>input: do a full CSD repaint on pointer motion over CSD buttons</title>
<updated>2020-03-03T17:22:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:22:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=264acd6463794a659d52f833702a8e864034cecd'/>
<id>urn:sha1:264acd6463794a659d52f833702a8e864034cecd</id>
<content type='text'>
This fixes repainting issues on mutter.
</content>
</entry>
<entry>
<title>csd: initial implementation of minimize/maximize/close buttons</title>
<updated>2020-03-02T19:29:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T19:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2'/>
<id>urn:sha1:9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: don't change xcursor if active surface isn't the main grid</title>
<updated>2020-03-02T17:47:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:47:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6eae5ebd94d2fbc8b0fec3275b8fd3a094a40ac5'/>
<id>urn:sha1:6eae5ebd94d2fbc8b0fec3275b8fd3a094a40ac5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: make CSD user configurable</title>
<updated>2020-03-02T17:42:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=22ce09eb44db887d32a5b3a88740939b7285c763'/>
<id>urn:sha1:22ce09eb44db887d32a5b3a88740939b7285c763</id>
<content type='text'>
The user can now configure the following:

* Whether to prefer CSDs or SSDs. But note that this is only a hint to
  the compositor - it may deny our request. Furthermore, not all
  compositors implement the decoration manager protocol, meaning CSDs
  will be used regardless of the user configuration (GNOME/mutter
  being the most prominent one).
* Title bar size and color, including transparency
* Border size and color, including transparency

Also drop support for rendering the CSDs inside the main surface.
</content>
</entry>
<entry>
<title>input: raise window 'move' timeout to 200ms</title>
<updated>2020-03-01T12:20:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-01T12:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ae22366f3bc8e9a364c1a25436e182269e050032'/>
<id>urn:sha1:ae22366f3bc8e9a364c1a25436e182269e050032</id>
<content type='text'>
100ms was a bit low and prevented double-tap on touchpads from
working.
</content>
</entry>
<entry>
<title>input: use xdg_toplevel_resize_edge enum type</title>
<updated>2020-03-01T10:43:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-01T10:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fff480e5849ec5cd2916e4cfe006374806ebb756'/>
<id>urn:sha1:fff480e5849ec5cd2916e4cfe006374806ebb756</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: start window move right away if user starts dragging the window</title>
<updated>2020-02-29T14:38:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T14:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ea2d7f8b8c5782d422d02058861fa9a754055b17'/>
<id>urn:sha1:ea2d7f8b8c5782d422d02058861fa9a754055b17</id>
<content type='text'>
When the user left-clicks the title-bar, we start a timer. When the
timer has elapsed, we initiate a 'move' operation.

However, if the user clicked, and then started dragging right away,
there was a very visible lag since we waited for the timeout before
starting the move.

Now, on a pointer motion event we detect a running 'move' timer, and
abort it and instead start the 'move' operation right away.
</content>
</entry>
<entry>
<title>input: fix 'unused variable' warning (release builds)</title>
<updated>2020-02-29T14:29:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T14:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=33744ebe63545540b583448f3d6b8aebc791911f'/>
<id>urn:sha1:33744ebe63545540b583448f3d6b8aebc791911f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: cleanup</title>
<updated>2020-02-29T14:29:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T14:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=73133c10eed3ad8415646d42a3f6386d7d702348'/>
<id>urn:sha1:73133c10eed3ad8415646d42a3f6386d7d702348</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: don't update xcursor on keyboard enter/leave</title>
<updated>2020-02-29T12:04:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T12:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e496d81f4d5a0432e0f12fd3494a48724f4d7d59'/>
<id>urn:sha1:e496d81f4d5a0432e0f12fd3494a48724f4d7d59</id>
<content type='text'>
I'm not sure why I added this in the first place... our cursor doesn't
depend on keyboard focus.

Furthermore, with CSDs, we may get keyboard enter events for the CSD
surfaces, and these should definitely *not* update the xcursor
as if it was inside the main surface.
</content>
</entry>
<entry>
<title>input: csd: add a small delay before initiating a move</title>
<updated>2020-02-29T11:56:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T11:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=43b07b122a1fa460bdda3edc529726e3b6a6463d'/>
<id>urn:sha1:43b07b122a1fa460bdda3edc529726e3b6a6463d</id>
<content type='text'>
This ensures the user has time to double-click to toggle the maximized
state.
</content>
</entry>
<entry>
<title>wayland: remove all usages of wayl_terminal_from_surface()</title>
<updated>2020-02-29T11:13:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T11:13:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c917a74f487941fa16548261680484cb78e63189'/>
<id>urn:sha1:c917a74f487941fa16548261680484cb78e63189</id>
<content type='text'>
Use the 'user data' pointer from the wayland surface instead.
</content>
</entry>
<entry>
<title>wayland: store pointer to window instance in all surfaces</title>
<updated>2020-02-29T11:09:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T11:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=43c05518064d6b6dc9a24cf2bded216ab84508f7'/>
<id>urn:sha1:43c05518064d6b6dc9a24cf2bded216ab84508f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: reset mouse state on pointer leave</title>
<updated>2020-02-29T11:08:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T11:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1091d1c0785cd07f2cb96fe88b9ccd0d331ede01'/>
<id>urn:sha1:1091d1c0785cd07f2cb96fe88b9ccd0d331ede01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: toggle maximized state when double-clicking the title bar</title>
<updated>2020-02-29T10:56:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T10:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4ee5a81d1a969ba9529c95d93b92f7c83de41fc8'/>
<id>urn:sha1:4ee5a81d1a969ba9529c95d93b92f7c83de41fc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: handle double/triple click state regardless of surface</title>
<updated>2020-02-29T10:55:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T10:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7b51d6919defbc87d0d11430f6ac9e5bfd137592'/>
<id>urn:sha1:7b51d6919defbc87d0d11430f6ac9e5bfd137592</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: handle CSD border corners correctly</title>
<updated>2020-02-29T08:32:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-29T08:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d48a7894120a0040ff240c8dc6df3fc6108363c5'/>
<id>urn:sha1:d48a7894120a0040ff240c8dc6df3fc6108363c5</id>
<content type='text'>
That is, change to correct cursor, and do resize correctly.
</content>
</entry>
<entry>
<title>input: temporary code to trigger maximize/minimize</title>
<updated>2020-02-26T12:23:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-26T12:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d863ea8a4630069e85e590c2022ff94f3ca43edf'/>
<id>urn:sha1:d863ea8a4630069e85e590c2022ff94f3ca43edf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: wip: trigger move/resize when left-clicking CSD</title>
<updated>2020-02-25T19:31:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-25T19:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c0e3db17120db7efb67e095ff251324518ff5d87'/>
<id>urn:sha1:c0e3db17120db7efb67e095ff251324518ff5d87</id>
<content type='text'>
</content>
</entry>
</feed>
