aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-27 21:55:24 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-27 21:55:24 (GMT)
commitb5c354b994bc06667abe35e2d528c0f025703c4e (patch)
tree081fd3207053a06cb50931ccec3237bc614f10eb /src/Window.cc
parent1f5cd12facc662de240b36bf3c5c14f40adf391b (diff)
downloadfluxbox-b5c354b994bc06667abe35e2d528c0f025703c4e.zip
fluxbox-b5c354b994bc06667abe35e2d528c0f025703c4e.tar.bz2
architecture astronomy
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 8126e9e..909d8db 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -264,8 +264,8 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbWinFrameTheme &tm,
264 m_toggled_decos(false), 264 m_toggled_decos(false),
265 m_icon_hidden(false), 265 m_icon_hidden(false),
266 m_focus_hidden(false), 266 m_focus_hidden(false),
267 m_focus_new(screen().focusControl(), &FocusControl::focusNew), 267 m_focus_new(BoolAcc(screen().focusControl(), &FocusControl::focusNew)),
268 m_mouse_focus(screen().focusControl(), &FocusControl::isMouseFocus), 268 m_mouse_focus(BoolAcc(screen().focusControl(), &FocusControl::isMouseFocus)),
269 m_click_focus(true), 269 m_click_focus(true),
270 m_old_pos_x(0), m_old_pos_y(0), 270 m_old_pos_x(0), m_old_pos_y(0),
271 m_old_width(1), m_old_height(1), 271 m_old_width(1), m_old_height(1),
@@ -1745,17 +1745,18 @@ void FluxboxWindow::shade() {
1745} 1745}
1746 1746
1747void FluxboxWindow::shadeOn() { 1747void FluxboxWindow::shadeOn() {
1748
1749 if (!shaded) 1748 if (!shaded)
1750 shade(); 1749 shade();
1751
1752} 1750}
1753 1751
1754void FluxboxWindow::shadeOff() { 1752void FluxboxWindow::shadeOff() {
1755
1756 if (shaded) 1753 if (shaded)
1757 shade(); 1754 shade();
1755}
1758 1756
1757void FluxboxWindow::setShaded(bool val) {
1758 if (val != shaded)
1759 shade();
1759} 1760}
1760 1761
1761void FluxboxWindow::stick() { 1762void FluxboxWindow::stick() {
@@ -1783,6 +1784,17 @@ void FluxboxWindow::stick() {
1783 1784
1784} 1785}
1785 1786
1787void FluxboxWindow::setStuck(bool val) {
1788 if (val != stuck)
1789 stick();
1790}
1791
1792void FluxboxWindow::setIconic(bool val) {
1793 if (val && isIconic())
1794 deiconify();
1795 if (!val && !isIconic())
1796 iconify();
1797}
1786 1798
1787void FluxboxWindow::raise() { 1799void FluxboxWindow::raise() {
1788 if (isIconic()) 1800 if (isIconic())