diff options
author | fluxgen <fluxgen> | 2004-01-21 13:36:09 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-21 13:36:09 (GMT) |
commit | 9c0272004e2509a2206d94dfbe30bb035c8c6d67 (patch) | |
tree | a97b2a4257af1ea1f1f4398314d1c9abe9808b44 /src/SystemTray.cc | |
parent | 5685dc91951477ee0e0a280d1f30ec737cc95550 (diff) | |
download | fluxbox-9c0272004e2509a2206d94dfbe30bb035c8c6d67.zip fluxbox-9c0272004e2509a2206d94dfbe30bb035c8c6d67.tar.bz2 |
using empty instead of size
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index 781d784..1a69a48 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: SystemTray.cc,v 1.5 2004/01/19 18:22:57 fluxgen Exp $ | 22 | // $Id: SystemTray.cc,v 1.6 2004/01/21 13:35:10 fluxgen Exp $ |
23 | 23 | ||
24 | #include "SystemTray.hh" | 24 | #include "SystemTray.hh" |
25 | 25 | ||
@@ -215,7 +215,7 @@ void SystemTray::addClient(Window win) { | |||
215 | #ifdef DEBUG | 215 | #ifdef DEBUG |
216 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): 0x"<<hex<<win<<dec<<endl; | 216 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): 0x"<<hex<<win<<dec<<endl; |
217 | #endif // DEBUG | 217 | #endif // DEBUG |
218 | if (m_clients.size() == 0) | 218 | if (m_clients.empty()) |
219 | show(); | 219 | show(); |
220 | 220 | ||
221 | FbTk::FbWindow *traywin = new TrayWindow(win); | 221 | FbTk::FbWindow *traywin = new TrayWindow(win); |
@@ -244,7 +244,7 @@ void SystemTray::removeClient(Window win) { | |||
244 | delete traywin; | 244 | delete traywin; |
245 | resize(width(), height()); | 245 | resize(width(), height()); |
246 | rearrangeClients(); | 246 | rearrangeClients(); |
247 | if (m_clients.size() == 0) { | 247 | if (m_clients.empty()) { |
248 | // so we send configurenotify signal to parent | 248 | // so we send configurenotify signal to parent |
249 | m_window.resize(1, 1); | 249 | m_window.resize(1, 1); |
250 | hide(); | 250 | hide(); |