all repos — fluxbox @ 35234ae644d14b929c72b4a04a8d59eb46d72448

custom fork of the fluxbox windowmanager

missed updating wm_protocols
rathnor rathnor
commit

35234ae644d14b929c72b4a04a8d59eb46d72448

parent

d353b688dec41daddeec9696586a4519f58cce45

3 files changed, 9 insertions(+), 8 deletions(-)

jump to
M src/WinClient.ccsrc/WinClient.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WinClient.cc,v 1.20 2003/07/28 15:06:34 rathnor Exp $ +// $Id: WinClient.cc,v 1.21 2003/07/28 15:46:00 rathnor Exp $ #include "WinClient.hh"

@@ -67,6 +67,7 @@ updateMWMHints();

updateWMHints(); updateWMNormalHints(); updateWMClassHint(); + updateWMProtocols(); updateTitle(); updateIconTitle(); Fluxbox::instance()->saveWindowSearch(win, this);

@@ -574,7 +575,7 @@ else

return m_win->setCurrentClient(*this, true); } -void WinClient::getWMProtocols() { +void WinClient::updateWMProtocols() { Atom *proto = 0; int num_return = 0; FbAtoms *fbatoms = FbAtoms::instance();
M src/WinClient.hhsrc/WinClient.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WinClient.hh,v 1.11 2003/07/28 15:06:34 rathnor Exp $ +// $Id: WinClient.hh,v 1.12 2003/07/28 15:46:00 rathnor Exp $ #ifndef WINCLIENT_HH #define WINCLIENT_HH

@@ -57,7 +57,7 @@ /// @return class member of class structure

const std::string &getWMClassClass() const; /// updates from wm class hints void updateWMClassHint(); - void getWMProtocols(); + void updateWMProtocols(); inline const std::string &getTitle() const { return m_title; } void updateTitle();
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.213 2003/07/28 15:06:34 rathnor Exp $ +// $Id: Window.cc,v 1.214 2003/07/28 15:46:00 rathnor Exp $ #include "Window.hh"

@@ -420,13 +420,13 @@

functions.resize = functions.move = functions.iconify = functions.maximize = true; decorations.close = false; - functions.close = m_client->isClosable(); - if (m_client->getBlackboxHint() != 0) getBlackboxHints(); else getMWMHints(); + functions.close = m_client->isClosable(); + //!! // fetch client size and placement XWindowAttributes wattrib;

@@ -2254,7 +2254,7 @@ }

default: if (atom == FbAtoms::instance()->getWMProtocolsAtom()) { - m_client->getWMProtocols(); + m_client->updateWMProtocols(); //!!TODO check this area // reset window actions setupWindow();