add printf for when a window requests its desktop
This commit is contained in:
parent
ab2968b3a5
commit
f7f5f3d08c
1 changed files with 7 additions and 3 deletions
|
@ -129,9 +129,13 @@ void Client::getDesktop()
|
|||
// defaults to the current desktop
|
||||
_desktop = openbox->screen(_screen)->desktop();
|
||||
|
||||
otk::Property::get(_window, otk::Property::atoms.net_wm_desktop,
|
||||
otk::Property::atoms.cardinal,
|
||||
(long unsigned*)&_desktop);
|
||||
if (otk::Property::get(_window, otk::Property::atoms.net_wm_desktop,
|
||||
otk::Property::atoms.cardinal,
|
||||
(long unsigned*)&_desktop)) {
|
||||
#ifdef DEBUG
|
||||
printf("DEBUG: Window requested desktop: %d\n", _desktop);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue