reset background on resolution change
This commit is contained in:
parent
6e9d8e2dc6
commit
b3da022ee2
4 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.1.2
|
||||
*08/10/01:
|
||||
* Reset background when screen changes resolution (Mark)
|
||||
Screen.cc RootTheme.cc/hh
|
||||
* Restore missing config files on reconfigure (Mark)
|
||||
fluxbox.cc
|
||||
*08/09/28:
|
||||
|
|
|
@ -181,7 +181,7 @@ void RootTheme::reconfigTheme() {
|
|||
if (!m_background->loaded())
|
||||
return;
|
||||
|
||||
if (!m_background->changed())
|
||||
if (!m_first && !m_background->changed())
|
||||
return;
|
||||
|
||||
//
|
||||
|
|
|
@ -44,6 +44,7 @@ public:
|
|||
|
||||
bool fallback(FbTk::ThemeItem_base &item);
|
||||
void reconfigTheme();
|
||||
void reset() { m_first = true; reconfigTheme(); }
|
||||
|
||||
GC opGC() const { return m_opgc.gc(); }
|
||||
|
||||
|
|
|
@ -1927,7 +1927,7 @@ void BScreen::updateSize() {
|
|||
rootWindow().updateGeometry();
|
||||
|
||||
// reset background
|
||||
m_root_theme->reconfigTheme();
|
||||
m_root_theme->reset();
|
||||
|
||||
// send resize notify
|
||||
m_resize_sig.emit(*this);
|
||||
|
|
Loading…
Reference in a new issue