diff --git a/Slax/debian/modules/03-desktop/patches/fluxbox-slax.diff b/Slax/debian/modules/03-desktop/patches/fluxbox-slax.diff index 8675cab..5308889 100644 --- a/Slax/debian/modules/03-desktop/patches/fluxbox-slax.diff +++ b/Slax/debian/modules/03-desktop/patches/fluxbox-slax.diff @@ -5,7 +5,7 @@ m_button_grab_y = y - frame().y() - frame().window().borderWidth(); + // If mouse clicked on the border, start window resize instead of move -+ if (m_button_grab_x <= 0 || m_button_grab_y <= 0 || m_button_grab_x >= frame().window().width() ++ if (m_button_grab_x <= 0 || m_button_grab_y <= -4 || m_button_grab_x >= frame().window().width() + || m_button_grab_y >= frame().window().height() ) { + ReferenceCorner dir = getResizeDirection(m_button_grab_x,m_button_grab_y,EDGEORCORNERRESIZE,frame().window().borderWidth(),frame().window().borderWidth()); + startResizing(m_button_grab_x, m_button_grab_y, dir); diff --git a/Slax/debian/modules/03-desktop/rootcopy/root/.xinitrc b/Slax/debian/modules/03-desktop/rootcopy/root/.xinitrc index 7c7afd6..40053e6 100644 --- a/Slax/debian/modules/03-desktop/rootcopy/root/.xinitrc +++ b/Slax/debian/modules/03-desktop/rootcopy/root/.xinitrc @@ -1,3 +1,3 @@ xrdb -merge ~/.Xresources -compton -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped' & +compton --sw-opti -e 0.9 --opacity-rule '70:WM_WINDOW_ROLE@:s *?= "fluxbox-toolbar"' --no-fading-destroyed-argb -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped' & startfluxbox diff --git a/Slax/debian/modules/03-desktop/rootcopy/usr/share/fluxbox/styles/Slax/theme.cfg b/Slax/debian/modules/03-desktop/rootcopy/usr/share/fluxbox/styles/Slax/theme.cfg index e089cef..b63bd23 100644 --- a/Slax/debian/modules/03-desktop/rootcopy/usr/share/fluxbox/styles/Slax/theme.cfg +++ b/Slax/debian/modules/03-desktop/rootcopy/usr/share/fluxbox/styles/Slax/theme.cfg @@ -8,7 +8,7 @@ background: fullscreen background.pixmap: /usr/share/wallpapers/wp.jpg toolbar.justify: left -toolbar.clock.justify: center +toolbar.clock.justify: right window.justify: center menu.title.justify: center menu.frame.justify: left @@ -81,6 +81,7 @@ toolbar.iconbar.unfocused.textColor: white toolbar.iconbar.unfocused.justify: left toolbar.button: flat solid +toolbar.button.borderWidth: 3 toolbar.button.color: #333333 toolbar.button.picColor: #61CA00 toolbar.button.pressed: flat solid