fluxbox compositing optimizations
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user