diff options
author | rathnor <rathnor> | 2003-07-28 15:46:00 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-07-28 15:46:00 (GMT) |
commit | 35234ae644d14b929c72b4a04a8d59eb46d72448 (patch) | |
tree | af954401698b6c869c990c5dda93f3456d020c17 /src/Window.cc | |
parent | d353b688dec41daddeec9696586a4519f58cce45 (diff) | |
download | fluxbox_pavel-35234ae644d14b929c72b4a04a8d59eb46d72448.zip fluxbox_pavel-35234ae644d14b929c72b4a04a8d59eb46d72448.tar.bz2 |
missed updating wm_protocols
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc index 70d1ee1..6f82f90 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.213 2003/07/28 15:06:34 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.214 2003/07/28 15:46:00 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -420,13 +420,13 @@ void FluxboxWindow::init() { | |||
420 | functions.resize = functions.move = functions.iconify = functions.maximize = true; | 420 | functions.resize = functions.move = functions.iconify = functions.maximize = true; |
421 | decorations.close = false; | 421 | decorations.close = false; |
422 | 422 | ||
423 | functions.close = m_client->isClosable(); | ||
424 | |||
425 | if (m_client->getBlackboxHint() != 0) | 423 | if (m_client->getBlackboxHint() != 0) |
426 | getBlackboxHints(); | 424 | getBlackboxHints(); |
427 | else | 425 | else |
428 | getMWMHints(); | 426 | getMWMHints(); |
429 | 427 | ||
428 | functions.close = m_client->isClosable(); | ||
429 | |||
430 | //!! | 430 | //!! |
431 | // fetch client size and placement | 431 | // fetch client size and placement |
432 | XWindowAttributes wattrib; | 432 | XWindowAttributes wattrib; |
@@ -2254,7 +2254,7 @@ void FluxboxWindow::propertyNotifyEvent(Atom atom) { | |||
2254 | 2254 | ||
2255 | default: | 2255 | default: |
2256 | if (atom == FbAtoms::instance()->getWMProtocolsAtom()) { | 2256 | if (atom == FbAtoms::instance()->getWMProtocolsAtom()) { |
2257 | m_client->getWMProtocols(); | 2257 | m_client->updateWMProtocols(); |
2258 | //!!TODO check this area | 2258 | //!!TODO check this area |
2259 | // reset window actions | 2259 | // reset window actions |
2260 | setupWindow(); | 2260 | setupWindow(); |