Go to file
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
.builds Add sourcehut build job 2021-08-05 22:07:53 +02:00
.gitignore Implement everything 2021-06-14 21:35:52 +00:00
LICENSE init 2021-06-14 21:35:38 +00:00
Makefile Append to CFLAGS, instead of replacing them 2021-08-06 23:30:59 +02:00
README init 2021-06-14 21:35:38 +00:00
wlopm.1 Merge branch 'manpage' 2021-07-17 15:41:59 +02:00
wlopm.c Ensure ‘new_mode’ is initialized; fixes compiler warning 2021-08-06 23:31:25 +02:00
wlr-output-power-management-unstable-v1.xml Implement everything 2021-06-14 21:35:52 +00:00
xdg-output-unstable-v1.xml Implement everything 2021-06-14 21:35:52 +00:00

wlopm - Wayland output power management

Simple client implementing zwlr-output-power-management-v1.