1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 18:51:04 +02:00

chore(wayland): downgrade some logs from debug to trace

This commit is contained in:
Jake Stanger 2023-08-16 20:27:24 +01:00
parent 50741941fb
commit 1b476eb9f9
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
3 changed files with 5 additions and 5 deletions

View file

@ -239,7 +239,7 @@ impl DataControlOfferHandler for Environment {
_offer: &mut DataControlDeviceOffer, _offer: &mut DataControlDeviceOffer,
_mime_type: String, _mime_type: String,
) { ) {
debug!("Handler received offer"); trace!("Handler received offer");
} }
} }

View file

@ -7,7 +7,7 @@ use smithay_client_toolkit::data_device_manager::ReadPipe;
use std::ops::DerefMut; use std::ops::DerefMut;
use std::os::fd::FromRawFd; use std::os::fd::FromRawFd;
use std::sync::{Arc, Mutex}; use std::sync::{Arc, Mutex};
use tracing::{debug, warn}; use tracing::{trace, warn};
use wayland_client::{Connection, Dispatch, Proxy, QueueHandle}; use wayland_client::{Connection, Dispatch, Proxy, QueueHandle};
use wayland_protocols_wlr::data_control::v1::client::zwlr_data_control_offer_v1::{ use wayland_protocols_wlr::data_control::v1::client::zwlr_data_control_offer_v1::{
Event, ZwlrDataControlOfferV1, Event, ZwlrDataControlOfferV1,
@ -149,7 +149,7 @@ where
let data = data.data_control_offer_data(); let data = data.data_control_offer_data();
if let Event::Offer { mime_type } = event { if let Event::Offer { mime_type } = event {
debug!("Adding new offer with type '{mime_type}'"); trace!("Adding new offer with type '{mime_type}'");
data.push_mime_type(mime_type.clone()); data.push_mime_type(mime_type.clone());
state.offer(conn, qh, &mut lock!(data.inner).offer, mime_type); state.offer(conn, qh, &mut lock!(data.inner).offer, mime_type);
} }

View file

@ -30,7 +30,7 @@ impl ToplevelManagerHandler for Environment {
impl ToplevelHandleHandler for Environment { impl ToplevelHandleHandler for Environment {
fn new_handle(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, handle: ToplevelHandle) { fn new_handle(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, handle: ToplevelHandle) {
debug!("Handler received new handle"); trace!("Handler received new handle");
match handle.info() { match handle.info() {
Some(info) => { Some(info) => {
@ -50,7 +50,7 @@ impl ToplevelHandleHandler for Environment {
_qh: &QueueHandle<Self>, _qh: &QueueHandle<Self>,
handle: ToplevelHandle, handle: ToplevelHandle,
) { ) {
debug!("Handler received handle update"); trace!("Handler received handle update");
match handle.info() { match handle.info() {
Some(info) => { Some(info) => {