1
0
mirror of https://codeberg.org/vyivel/dulcepan/ synced 2026-05-09 23:29:18 +03:00
Commit Graph

40 Commits

Author SHA1 Message Date
Kirill Primak d2620c60c5 main: refuse to dump the result into tty
Closes: https://codeberg.org/vyivel/dulcepan/issues/17
2024-11-06 23:38:01 +03:00
Kirill Primak c343fc1f73 main: validate args before loading everything else 2024-11-06 23:27:05 +03:00
Kirill Primak fccc2e2e97 Fix processing of multiple output modes 2024-09-09 06:24:33 +03:00
Kirill Primak e797e5a324 output: make swapchain lazy 2024-08-09 15:58:04 +03:00
Kirill Primak bdf8308c4e seat: make cursor-shape-v1 support optional 2024-08-09 15:58:00 +03:00
Kirill Primak 6f7dfab735 seat: use correct serial when updating cursor shape 2024-08-09 15:46:37 +03:00
Kirill Primak 553147259b Explain controls in the help message 2024-07-05 07:45:06 +03:00
Kirill Primak e81e274380 output: don't redraw if there's nothing to animate 2024-07-03 13:34:35 +03:00
Kirill Primak 5ce4818cd5 Mark dp_log_fatal() as noreturn 2024-07-02 22:14:47 +03:00
Alexey Yerin 56860d672f Add option to disable persistence 2024-06-30 17:49:46 +03:00
Kirill Primak 4c7575b10e Fix selection size rounding 2024-06-30 16:10:53 +03:00
Kirill Primak cd836cc6fa Align borders with the pixel grid 2024-06-28 20:39:50 +03:00
Kirill Primak bc97934371 More scale changes :3
Surely this has no bugs in it
2024-06-28 20:35:44 +03:00
Kirill Primak 8794cbdeb2 Add fancy borders 2024-06-28 20:14:29 +03:00
Kirill Primak f590bd2b73 persistent: fix selection geometry validation 2024-06-26 20:17:33 +03:00
Kirill Primak 5babf54a32 Remember last selection 2024-06-24 16:48:51 +03:00
Kirill Primak 9fb42b9869 Store sfdo-basedir ctx in state 2024-06-24 16:48:26 +03:00
Kirill Primak 447f2a8e5b output: store name 2024-06-24 16:38:02 +03:00
Kirill Primak 29c6ebf48c output,seat: name => global_name 2024-06-24 16:32:47 +03:00
Kirill Primak 8a9a5689c4 config: don't die on unknown keys 2024-06-24 16:06:42 +03:00
Kirill Primak 13d4fa8d86 select: fix clamping for transformed outputs 2024-06-24 14:09:08 +03:00
Kirill Primak 6dc506daed output: don't draw borders for empty selections 2024-06-24 14:00:08 +03:00
Kirill Primak e1424a42bb Apply output scale correctly 2024-06-24 14:00:08 +03:00
Kirill Primak 218b498814 config: improve load_int() 2024-06-24 14:00:08 +03:00
Kirill Primak 2c721ef054 Switch back to Cairo for drawing selection 2024-06-24 13:35:15 +03:00
Kirill Primak a7ea928b1c config: store colors as float arrays 2024-06-23 20:59:39 +03:00
Kirill Primak a2d13cbdf8 select: clamp pointer position on resize 2024-06-23 20:50:24 +03:00
Kirill Primak eba288479e Add customizable keybinds 2024-06-21 13:08:22 +00:00
Kirill Primak 8e8cdf1f32 Rework mouse controls 2024-06-21 16:05:53 +03:00
Kirill Primak 164594603e Fix message capitalization 2024-06-21 14:56:09 +03:00
Kirill Primak 9c7520bef4 Add a "show cursors" option 2024-06-20 09:16:05 +03:00
Kirill Primak 254e138a4e Destroy the cursor shape manager global on exit 2024-06-20 08:42:51 +03:00
Kirill Primak afb4bf1a39 seat: set default cursor on enter
Fixes: https://codeberg.org/vyivel/dulcepan/issues/5
2024-06-20 08:30:23 +03:00
psykose 7652fb16bd implement png compression levels 2024-06-19 22:15:43 +03:00
Kirill Primak 3f7609a5d3 output: ignore configures before initial commit 2024-06-19 22:12:17 +03:00
Kirill Primak dfd6a493e0 save: use a8b8g8r8 instead of x8b8g8r8
This fixes writing PNG files.
2024-06-19 21:17:29 +03:00
Kirill Primak 1da6068f43 buffer: fix template 2024-06-19 21:03:03 +03:00
Kirill Primak 17e6001e6e Exit with 1 on quit 2024-06-19 19:05:38 +03:00
Kirill Primak 9de568024b config: fix default selected color 2024-06-19 19:02:00 +03:00
Kirill Primak 1436162663 Make it good™ 2024-06-19 18:49:12 +03:00