aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc18
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) {
296void Gnome::updateLayer(FluxboxWindow &win) { 296void 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;