feat: Add debug logging to hgx11damage.cpp
Added qDebug() statements to trace the execution flow and print out important values in the damage monitoring thread. This will help to identify if X11 damage events are being received.
This commit is contained in:
parent
9eda38519e
commit
8ff291c4b4
@ -29,8 +29,10 @@ void hgx11damage::_monitor()
|
||||
if(_display_p == nullptr){
|
||||
return;
|
||||
}
|
||||
qDebug() << "Monitoring for X11 damage events.";
|
||||
while (_loop_m) {
|
||||
XNextEvent(_display_p, &_event_m);
|
||||
qDebug() << "X11 event received:" << _event_m.type;
|
||||
if (_frameCount_m++ < _frameSkip_m) {
|
||||
XDamageSubtract(_display_p ,_damage_m, None, None);
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user