Commit Graph

214 Commits

Author SHA1 Message Date
Mihai Fufezan 505975aa05 Nix & Meson: init for v2-rewrite 2023-09-06 21:28:43 +03:00
vaxerski c9347d8e9b fix warnings 2023-09-06 19:07:41 +02:00
vaxerski 3faa42ca5b unify session and request 2023-09-02 19:53:58 +02:00
vaxerski f8a847109e add gs 2023-09-02 19:36:57 +02:00
vaxerski ee577b571c screencopy: fix passing of sessions and requests to close handlers 2023-08-30 20:51:45 +02:00
vaxerski 2c8eb43704 Allow the user to disallow a restore token 2023-08-30 13:05:00 +02:00
vaxerski 747988ed9d make tokens better + worky worky 2023-08-30 12:41:26 +02:00
vaxerski 0fb5448745 handle dbus errors in connect 2023-08-28 22:21:36 +02:00
vaxerski 965c4614b2 Add help, verbose and quiet args 2023-08-28 16:53:23 +02:00
vaxerski c85ae51531 window sharing 2023-08-28 16:34:35 +02:00
vaxerski f0afc1ab21 minor fixas 2023-08-28 15:52:58 +02:00
vaxerski e2b68a6d39 send more meta 2023-08-28 14:41:45 +02:00
vaxerski 5fca07636b sharing works (only dma piece of shit maybe obs is wonk) 2023-08-28 14:14:12 +02:00
vaxerski 9081ca2592 some logs 2023-08-28 12:44:47 +02:00
vaxerski b1895a2dfe aaaa 2023-08-27 23:09:01 +02:00
vaxerski 2a8a6445db remove unused builder args 2023-08-27 22:42:39 +02:00
vaxerski f63678ad11 c++ification a bit 2023-08-27 22:30:57 +02:00
vaxerski daa9a2386b today's work. obs crashes while screensharing. 2023-08-27 20:30:04 +02:00
vaxerski b32c560b31 basic groundwork for pw 2023-08-27 00:32:18 +02:00
vaxerski b50663fcfa begin work 2023-08-26 23:50:30 +02:00
Nicola Guerrera af539f4e4d
screencast: correct array size (#72) 2023-07-23 15:48:06 +02:00
vaxerski 43300c11a9 toplevelexport: remove _done call from _buffer
requires recent hyprland commit to work
2023-07-20 12:41:50 +02:00
vaxerski 7276435c46 pw: guard output in transform checks 2023-07-20 12:01:23 +02:00
vaxerski ca077cc05c screencast: restore window share by class 2023-05-25 16:54:02 +02:00
vaxerski c0e2339555 screencast: send transform to pw 2023-04-25 17:16:24 +01:00
Lucas Alber f9f08c802e
Fix build after 7d3da7e968 (#54) 2023-04-24 15:04:59 +01:00
Pascal J 7d3da7e968
fix implicit function declaration (#53)
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
2023-04-23 19:37:42 +01:00
vaxerski bf035bf3d5 pw: set type for all planes 2023-04-14 17:29:17 +01:00
vaxerski a7b7880172 screencast: send damage via pw 2023-04-14 17:27:28 +01:00
vaxerski 7fc2e78581 screencast: use spa-pod-dynamic 2023-04-14 17:22:16 +01:00
vaxerski 78dee83d77 screencast: add fallback for linear modifier 2023-04-14 17:14:41 +01:00
vaxerski 2366b4d415 internal: remove metadata cursor mode 2023-04-13 21:14:13 +01:00
Jan Beich e33206673d
globalshortcuts: fix -Wint-conversion as error with Clang 15 (#42)
src/globalshortcuts/global_shortcuts.c:40:44: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("Activated", "osta{sv}", NULL),
                                           ^~~~
src/globalshortcuts/global_shortcuts.c:41:46: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("Deactivated", "osta{sv}", NULL),
                                             ^~~~
src/globalshortcuts/global_shortcuts.c:42:53: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("ShortcutsChanged", "oa(sa{sv})", NULL),
                                                    ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
 #define NULL    ((void *)0)
                 ^~~~~~~~~~~
/usr/include/basu/sd-bus-vtable.h:113:26: note: expanded from macro 'SD_BUS_SIGNAL'
                .flags = _flags,                                        \
                         ^~~~~~
2023-04-10 12:27:59 +01:00
vaxerski 0527deefe8 internal: bring back metadata cursor support 2023-04-10 12:27:18 +01:00
vaxerski 7ca51f935e screencast: make restore persistent 2023-04-10 00:03:24 +01:00
vaxerski ab8d54f6f6 feat: add session restore 2023-04-09 23:30:19 +01:00
Vaxry 510257c0e9
[WIP] Global Shortcuts impl (#35)
Implements the `GlobalShortcuts` portal via `hyprland-global-shortcuts-v1`

---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-04-09 13:47:05 +01:00
vaxerski 803c00db11 screencast: crudely allow metadata and ignore it 2023-04-05 22:23:59 +01:00
vaxerski 74128d2a97 minor fix for region sharing 2023-03-16 15:11:27 +00:00
vaxerski 8707444cf5 fix shell tab behavior in headers 2023-02-03 18:41:28 +00:00
vaxerski a0fa7909cd nuke toplevel_mgr_bind 2023-02-03 16:50:06 +00:00
vaxerski f8cdd28cc8 sanitize input to the picker 2023-02-03 12:14:28 +00:00
vaxerski 13db7db849 fix returnlist on no manager 2023-02-01 19:48:49 +00:00
vaxerski ee73fca9cc Bind toplevel protos once before first screencast
Also style.
2023-02-01 17:49:29 +00:00
vaxerski 101b58d9c5 add missing s 2022-12-13 18:55:32 +00:00
vaxerski 9fb4fae94b bring back qt wayland platform 2022-12-13 00:55:12 +00:00
Vaxry 3c4c9969cc
Toplevel sharing Rev2 impl (#3)
* toplevel sharing rev2

* nix: fix build

* updated protocols

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-12 14:51:37 +00:00
vaxerski 756789211e export HIS to the picker 2022-12-05 23:20:49 +00:00
vaxerski 2a634b0a60 log more about screencast 2022-12-05 23:11:13 +00:00
vaxerski 4ac6a9af82 export xcursor size to avoid odd-sized cursors 2022-12-05 18:53:51 +00:00