Commit Graph

25 Commits

Author SHA1 Message Date
00c7e6dfb2 Move X11 error handler registration to before screen sets (#62)
If X11 throws an error during screen config get/set, the default error
handler at the time will be one which causes a program exit. This
splits the error handler registration in xevent into its own call,
allowing us to register our error handler earlier on. This results in
the safe error handling logic actually being called instead of a full
program exit.
2024-03-27 21:38:33 +01:00
b40c0778c8 file chooser dialog diabled by default. 2023-11-24 10:39:09 +01:00
ea5517b270 Xorg input driver (#53)
* add xf86 input driver.

* cleanup.

* rewrite to unix socket PoC.

* add input rebuild.

* lint & docs.

* add input driver struct.

* comments, lint, socket name from config.

* add touch events to webrtc.

* switch to uint32.

* misc update logging & linting,

* fix screen size

* set touchscreen as core pointer.

* add touch to ws control.

* SendCoreEvents.

* extract to own xinput folder.

* add debounce.

* switch pressure to uint8.

* check buffer size.

* send touch events with system init.
2023-08-17 16:14:59 +02:00
c70c8217de add unminimize. 2023-04-24 22:19:48 +02:00
f8b128e1e9 Custom sizes with XRandR (#25)
* xserver dummy with RandR.

* update.

* remove screen configurations from xorg.

* screen size cannot be nil anymore.

* use predefined screen configurations.

* use screen configurations.

* fix error.

* remove comment.
2023-02-14 21:18:47 +01:00
babddacbf3 Go generics and changes in v1.18 (#5)
* ArrayIn to use generics.

* interface{} -> any.
2022-07-28 12:20:20 +02:00
3cd59b9f30 rename module name from gitlab to github. 2022-07-14 22:10:41 +02:00
8593d2d0fd move shared code to pkg. 2022-03-20 11:43:00 +01:00
94c17e9a42 rename module to gitlab.com/demodesk/neko/server. 2022-03-20 11:27:41 +01:00
e45bd7098f replace chan struct{}. 2021-10-04 14:40:20 +02:00
d46c5d9d30 desktop module use shutdown close. 2021-09-13 23:50:16 +02:00
f18ae2b972 add waitgroups. 2021-09-02 00:00:56 +02:00
c2fe224562 audit errors and warnings. 2021-09-01 23:10:06 +02:00
01c0f269ee use defer for ticker. 2021-08-19 21:19:02 +02:00
d24cea3535 desktop display from env. 2021-03-11 17:44:49 +01:00
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
d4e0287eb5 file chooser dialog events implementation. 2021-01-19 21:01:31 +01:00
22d31e871c file chooser (WIP). 2021-01-18 22:01:11 +01:00
910f0af995 xevent cursor change. 2021-01-10 15:58:17 +01:00
a6afccd079 desktop single mutex shared gtk. 2021-01-08 22:03:50 +01:00
ff97242bac normalize logs. 2020-11-13 17:42:04 +01:00
a6fd0f3d25 fixes "screen size change is sometimes failing". 2020-11-07 17:22:25 +01:00
a8173ce02f change screen size only on desktop. 2020-11-04 00:27:47 +01:00
b0ae758d7b refactor xorg race condition. 2020-11-04 00:09:52 +01:00
5d906e0a8b major refactor. 2020-11-01 16:09:48 +01:00