diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-24 02:27:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-24 02:27:10 +0000 |
| commit | 3e21214a1d2f7e7c4f35ccc9f8f033d4d263e41a (patch) | |
| tree | 976bf9e01e6cb8ee1cb80825d26adcbdb77d1cf6 | |
| parent | f7f5f3d08c278bc67a463be71aedc3d2822a15ae (diff) | |
don't make dock type windows auto-omni-present.
add some debug prints
| -rw-r--r-- | src/client.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc index f0266bce..533a9c32 100644 --- a/src/client.cc +++ b/src/client.cc @@ -76,7 +76,7 @@ Client::Client(int screen, Window window) updateStrut(); // 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; // 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, (long unsigned*)&_desktop)) { #ifdef DEBUG - printf("DEBUG: Window requested desktop: %d\n", _desktop); + printf("DEBUG: Window requested desktop: %ld\n", _desktop); #endif } } @@ -491,6 +491,10 @@ void Client::updateWMHints(bool initstate) if (ur != _urgent) { _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 // we're mapped if (_urgent && frame) |
