don't make dock type windows auto-omni-present.
add some debug prints
This commit is contained in:
parent
f7f5f3d08c
commit
3e21214a1d
1 changed files with 6 additions and 2 deletions
|
@ -76,7 +76,7 @@ Client::Client(int screen, Window window)
|
||||||
updateStrut();
|
updateStrut();
|
||||||
|
|
||||||
// this makes sure that these windows appear on all desktops
|
// this makes sure that these windows appear on all desktops
|
||||||
if (_type == Type_Dock || _type == Type_Desktop)
|
if (/*_type == Type_Dock ||*/ _type == Type_Desktop)
|
||||||
_desktop = 0xffffffff;
|
_desktop = 0xffffffff;
|
||||||
|
|
||||||
// set the desktop hint, to make sure that it always exists, and to reflect
|
// set the desktop hint, to make sure that it always exists, and to reflect
|
||||||
|
@ -133,7 +133,7 @@ void Client::getDesktop()
|
||||||
otk::Property::atoms.cardinal,
|
otk::Property::atoms.cardinal,
|
||||||
(long unsigned*)&_desktop)) {
|
(long unsigned*)&_desktop)) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("DEBUG: Window requested desktop: %d\n", _desktop);
|
printf("DEBUG: Window requested desktop: %ld\n", _desktop);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -491,6 +491,10 @@ void Client::updateWMHints(bool initstate)
|
||||||
|
|
||||||
if (ur != _urgent) {
|
if (ur != _urgent) {
|
||||||
_urgent = ur;
|
_urgent = ur;
|
||||||
|
#ifdef DEBUG
|
||||||
|
printf("DEBUG: Urgent Hint for 0x%lx: %s\n",
|
||||||
|
(long)_window, _urgent ? "ON" : "OFF");
|
||||||
|
#endif
|
||||||
// fire the urgent callback if we're mapped, otherwise, wait until after
|
// fire the urgent callback if we're mapped, otherwise, wait until after
|
||||||
// we're mapped
|
// we're mapped
|
||||||
if (_urgent && frame)
|
if (_urgent && frame)
|
||||||
|
|
Loading…
Reference in a new issue