chore(wayland): downgrade some logs from debug to trace
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user