diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-03-23 11:02:15 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-03-23 11:02:15 (GMT) |
commit | e850b0191977da47eb7233e248dbab7ebd1d21f0 (patch) | |
tree | d3a3e33f1d4524147ddaa2b6b21e05bd142fc367 /src/Gnome.cc | |
parent | 7ece90ad4f360b3cf11e46a00d4c1ec5b60213e9 (diff) | |
download | fluxbox-e850b0191977da47eb7233e248dbab7ebd1d21f0.zip fluxbox-e850b0191977da47eb7233e248dbab7ebd1d21f0.tar.bz2 |
compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in
Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'.
'ResourceLayer' sounds crappy, but that was the best I could come
up with right now.
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc index 78e8a2f..91a0aef 100644 --- a/src/Gnome.cc +++ b/src/Gnome.cc | |||
@@ -296,7 +296,7 @@ void Gnome::updateState(FluxboxWindow &win) { | |||
296 | void Gnome::updateLayer(FluxboxWindow &win) { | 296 | void Gnome::updateLayer(FluxboxWindow &win) { |
297 | //TODO - map from flux layers to gnome ones | 297 | //TODO - map from flux layers to gnome ones |
298 | // our layers are in the opposite direction to GNOME | 298 | // our layers are in the opposite direction to GNOME |
299 | long layernum = Layer::DESKTOP - win.layerNum(); | 299 | long layernum = ResourceLayer::DESKTOP - win.layerNum(); |
300 | 300 | ||
301 | FluxboxWindow::ClientList::iterator client_it = win.clientList().begin(); | 301 | FluxboxWindow::ClientList::iterator client_it = win.clientList().begin(); |
302 | FluxboxWindow::ClientList::iterator client_it_end = win.clientList().end(); | 302 | FluxboxWindow::ClientList::iterator client_it_end = win.clientList().end(); |
@@ -421,35 +421,35 @@ void Gnome::setLayer(FluxboxWindow *win, int layer) { | |||
421 | switch (layer) { | 421 | switch (layer) { |
422 | case WIN_LAYER_DESKTOP: | 422 | case WIN_LAYER_DESKTOP: |
423 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_DESKTOP)"<<endl; | 423 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_DESKTOP)"<<endl; |
424 | layer = Layer::DESKTOP; | 424 | layer = ResourceLayer::DESKTOP; |
425 | break; | 425 | break; |
426 | case WIN_LAYER_BELOW: | 426 | case WIN_LAYER_BELOW: |
427 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_BELOW)"<<endl; | 427 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_BELOW)"<<endl; |
428 | layer = Layer::BOTTOM; | 428 | layer = ResourceLayer::BOTTOM; |
429 | break; | 429 | break; |
430 | case WIN_LAYER_NORMAL: | 430 | case WIN_LAYER_NORMAL: |
431 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_NORMAL)"<<endl; | 431 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_NORMAL)"<<endl; |
432 | layer = Layer::NORMAL; | 432 | layer = ResourceLayer::NORMAL; |
433 | break; | 433 | break; |
434 | case WIN_LAYER_ONTOP: | 434 | case WIN_LAYER_ONTOP: |
435 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_ONTOP)"<<endl; | 435 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_ONTOP)"<<endl; |
436 | layer = Layer::TOP; | 436 | layer = ResourceLayer::TOP; |
437 | break; | 437 | break; |
438 | case WIN_LAYER_DOCK: | 438 | case WIN_LAYER_DOCK: |
439 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_DOCK)"<<endl; | 439 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_DOCK)"<<endl; |
440 | layer = Layer::DOCK; | 440 | layer = ResourceLayer::DOCK; |
441 | break; | 441 | break; |
442 | case WIN_LAYER_ABOVE_DOCK: | 442 | case WIN_LAYER_ABOVE_DOCK: |
443 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_ABOVE_DOCK)"<<endl; | 443 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_ABOVE_DOCK)"<<endl; |
444 | layer = Layer::ABOVE_DOCK; | 444 | layer = ResourceLayer::ABOVE_DOCK; |
445 | break; | 445 | break; |
446 | case WIN_LAYER_MENU: | 446 | case WIN_LAYER_MENU: |
447 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_MENU)"<<endl; | 447 | fbdbg<<"Gnome::setLayer("<<title<<", WIN_LAYER_MENU)"<<endl; |
448 | layer = Layer::MENU; | 448 | layer = ResourceLayer::MENU; |
449 | break; | 449 | break; |
450 | default: | 450 | default: |
451 | // our windows are in the opposite direction to gnome | 451 | // our windows are in the opposite direction to gnome |
452 | layer = Layer::DESKTOP - layer; | 452 | layer = ResourceLayer::DESKTOP - layer; |
453 | fbdbg<<"Gnome::setLayer("<<win->title().logical()<<", "<<layer<<")"<<endl; | 453 | fbdbg<<"Gnome::setLayer("<<win->title().logical()<<", "<<layer<<")"<<endl; |
454 | 454 | ||
455 | break; | 455 | break; |