Skip to content

Commit

Permalink
add hyprland to issue template, fix default config
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Oct 25, 2024
1 parent db8bf31 commit ba0fcc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ body:
label: Environment
render: shell
description: It would help to know your environment. Please run the command below and paste the output here. If you want to add something else that could help, please do so!
value: lsb_release -a; uname -a; pgrep -l sway; pacman -Q | egrep "(wlroots|vulkan|sway|clang|rust)"; dpkg -l | egrep "(wlroots|vulkan|sway|clang|rust)"; echo "WLR_DRM_NO_MODIFIERS=$WLR_DRM_NO_MODIFIERS"
value: lsb_release -a; uname -a; pgrep -l sway; pacman -Q | egrep "(wlroots|vulkan|sway|hyprland|clang|rust)"; dpkg -l | egrep "(wlroots|vulkan|sway|hyprland|clang|rust)"; echo "WLR_DRM_NO_MODIFIERS=$WLR_DRM_NO_MODIFIERS"
validations:
required: true
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ thresholds = { 0 = "night", 20 = "dark", 80 = "dim", 250 = "normal", 500 = "brig
[[output.backlight]]
name = "eDP-1"
path = "/sys/class/backlight/intel_backlight"
capturer = "wlr-export-dmabuf-unstable-v1"
capturer = "wlroots"

# [[output.ddcutil]]
# name = "Dell Inc. DELL P2415Q"
Expand Down
2 changes: 1 addition & 1 deletion src/frame/capturer/wayland.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,12 @@ impl Dispatch<ZwlrScreencopyFrameV1, ()> for Capturer {
}

zwlr_screencopy_frame_v1::Event::Failed {} => {
log::error!("Frame copy failed");
frame.destroy();
if let Some(buffer) = state.wl_buffer.take() {
buffer.destroy()
}

log::error!("Frame copy failed");
thread::sleep(DELAY_FAILURE);
state.is_processing_frame = false;
}
Expand Down

0 comments on commit ba0fcc3

Please sign in to comment.