fixed resize signal so objects can resize when the screen size changes
fluxgen fluxgen
2 files changed,
7 insertions(+),
5 deletions(-)
M
src/Screen.cc
→
src/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.hh
→
src/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 ¤tWorkspaceSig() { 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;