all repos — fluxbox @ 329ac9d0bb22b41483eaf6f15623891790f7fdbe

custom fork of the fluxbox windowmanager

fixed resize signal so objects can resize when the screen size changes
fluxgen fluxgen
commit

329ac9d0bb22b41483eaf6f15623891790f7fdbe

parent

d509be7ac9a01ad5e2de4e4de510788ada3c8a60

2 files changed, 7 insertions(+), 5 deletions(-)

jump to
M src/Screen.ccsrc/Screen.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: Screen.cc,v 1.224 2003/08/24 11:13:36 fluxgen Exp $ +// $Id: Screen.cc,v 1.225 2003/08/24 13:07:01 fluxgen Exp $ #include "Screen.hh"

@@ -268,6 +268,7 @@ m_workspacecount_sig(*this), // workspace count signal

m_workspacenames_sig(*this), // workspace names signal m_currentworkspace_sig(*this), // current workspace signal m_reconfigure_sig(*this), // reconfigure signal + m_resize_sig(*this), m_layermanager(num_layers), cycling_focus(false), cycling_last(0),

@@ -2248,8 +2249,7 @@ if (slit())

slit()->reconfigure(); #endif // SLIT - //!! TODO: should we re-maximize the maximized windows? - + m_resize_sig.notify(); }
M src/Screen.hhsrc/Screen.hh

@@ -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: Screen.hh,v 1.121 2003/08/12 12:20:48 fluxgen Exp $ +// $Id: Screen.hh,v 1.122 2003/08/24 13:06:38 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH

@@ -151,6 +151,7 @@ /// current workspace signal

FbTk::Subject &currentWorkspaceSig() { return m_currentworkspace_sig; } /// reconfigure signal FbTk::Subject &reconfigureSig() { return m_reconfigure_sig; } + FbTk::Subject &resizeSig() { return m_resize_sig; } //@} /// @return the resource value of number of workspace

@@ -353,7 +354,8 @@ m_clientlist_sig, ///< client signal

m_workspacecount_sig, ///< workspace count signal m_workspacenames_sig, ///< workspace names signal m_currentworkspace_sig, ///< current workspace signal - m_reconfigure_sig; ///< reconfigure signal + m_reconfigure_sig, ///< reconfigure signal + m_resize_sig; ///< resize signal FbTk::MultLayers m_layermanager;