| src/PDecor.cc | |
| 1469 | @@ -1469,6 +1469,16 @@ |
| 1469 | _skip = skip; |
| 1470 | } |
| 1471 | |
| 1472 | //! @brief Remove iconified state. |
| 1473 | void PDecor::deiconify(void) { |
| 1474 | if (_iconified) { |
| 1475 | if (_workspace == Workspaces::instance()->getActive()) { |
| 1476 | mapWindow(); |
| 1477 | } |
| 1478 | _iconified = false; |
| 1479 | } |
| 1480 | } |
| 1481 | |
| 1482 | //! @brief Renders and sets title background |
| 1483 | void |
| 1484 | PDecor::renderTitle(void) |
| ... | |
| src/PDecor.hh | |
| 307 | @@ -307,6 +307,7 @@ |
| 307 | return (_border ? _data->getBorderTexture(getFocusedState(false), BORDER_RIGHT)->getWidth() : 0); |
| 308 | } |
| 309 | |
| 310 | void deiconify(void); |
| 311 | protected: |
| 312 | // START - PDecor interface. |
| 313 | virtual void renderTitle(void); |
| ... | |
| src/Client.cc | |
| 544 | @@ -544,6 +544,16 @@ |
| 544 | return 0; |
| 545 | } |
| 546 | |
| 547 | //!@brief |
| 548 | ActionEvent* |
| 549 | Client::handleMapRequest(XMapRequestEvent *ev) |
| 550 | { |
| 551 | if (_parent && dynamic_cast<PDecor *>(_parent)) { |
| 552 | dynamic_cast<PDecor*>(_parent)->deiconify(); |
| 553 | } |
| 554 | return 0; |
| 555 | } |
| 556 | |
| 557 | // END - PWinObj interface. |
| 558 | |
| 559 | //! @brief Finds the Client which holds the Window w. |
| ... | |
| src/Client.hh | |
| 96 | @@ -96,6 +96,7 @@ |
| 96 | return 0; |
| 97 | } |
| 98 | |
| 99 | virtual ActionEvent *handleMapRequest(XMapRequestEvent *ev); |
| 100 | virtual ActionEvent *handleUnmapEvent(XUnmapEvent *ev); |
| 101 | // END - PWinObj interface. |
| 102 | |
| ... | |