Commit Graph

16 Commits

Author SHA1 Message Date
Leon Henrik Plickat
24307414ca Release 0.1.0 2022-06-01 18:00:45 +02:00
Leon Henrik Plickat
27b7ccd1f1 Bind correct wl_output version 2022-01-31 15:19:14 +01:00
Leon Henrik Plickat
eb251dec93 Remove "or later" from license header 2022-01-30 15:11:00 +01:00
Leon Henrik Plickat
2282371654 Use wl_output.name instead of xdg_output.name 2022-01-30 01:45:25 +01:00
Leon Henrik Plickat
06ae5c5f6e Only include execinfo.h when glibc is used 2021-11-26 13:56:52 +01:00
Leon Henrik Plickat
c61cbb4573 Use correct OS macro to guard execinfo.h 2021-11-19 15:13:32 +01:00
Leon Henrik Plickat
262fc7c870 Print message on error signal 2021-11-19 00:43:32 +01:00
Daniel Eklöf
4ffa09316d Ensure ‘new_mode’ is initialized; fixes compiler warning
wlopm.c: In function ‘sync_handle_done’:
wlr-output-power-management-unstable-v1.h:295:9: error: ‘new_mode’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  295 |         wl_proxy_marshal((struct wl_proxy *) zwlr_output_power_v1,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  296 |                          ZWLR_OUTPUT_POWER_V1_SET_MODE, mode);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wlopm.c:178:40: note: ‘new_mode’ was declared here
  178 |         enum zwlr_output_power_v1_mode new_mode;
      |                                        ^~~~~~~~
2021-08-06 23:31:25 +02:00
Leon Henrik Plickat
2d574029fc Make compiler flags more aggressive 2021-06-29 15:51:02 +02:00
Leon Henrik Plickat
ec680722d4 Use function for json error messages 2021-06-21 16:10:46 +02:00
Leon Henrik Plickat
fec8a5db3d Accept * as parameter to operate on all outputs 2021-06-21 16:06:20 +02:00
Leon Henrik Plickat
f968900de8 Better commandline interface, support multiple operations 2021-06-17 18:17:20 +02:00
Leon Henrik Plickat
cea679c1a3 Add json output mode 2021-06-15 13:32:26 +00:00
Leon Henrik Plickat
22f87adf6c Add "toggle" operation 2021-06-14 23:47:49 +00:00
Leon Henrik Plickat
e3f245394a Fix segfault when required protocol not supported 2021-06-14 23:08:38 +00:00
Leon Henrik Plickat
ff86018415 Implement everything 2021-06-14 21:35:52 +00:00