fixed resize signal so objects can resize when the screen size changes
This commit is contained in:
parent
d509be7ac9
commit
329ac9d0bb
2 changed files with 7 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
|
|||
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 @@ void BScreen::updateSize() {
|
|||
slit()->reconfigure();
|
||||
#endif // SLIT
|
||||
|
||||
//!! TODO: should we re-maximize the maximized windows?
|
||||
|
||||
m_resize_sig.notify();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ public:
|
|||
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 @@ private:
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue