From e836f9ae648a6f43e618277e42e25c3ec59d4262 Mon Sep 17 00:00:00 2001 From: Andrew Chadwick Date: Mon, 10 Feb 2014 21:23:32 +0000 Subject: [PATCH] xfwm4: increase width of bottom edge Increase the size of the bottom resize edge, and make the left-bottom and right-bottom corners larger, and "L"-shaped, for easier gripping. Rationale: Xfwm doesn't support magic window edges, so they need to be larger in order to be clickable. 2px is too narrow for this. --- xfwm4/bottom-active.xpm | 4 +++- xfwm4/bottom-inactive.xpm | 4 +++- xfwm4/bottom-left-active.xpm | 12 +++++++++--- xfwm4/bottom-left-inactive.xpm | 12 +++++++++--- xfwm4/bottom-right-active.xpm | 12 +++++++++--- xfwm4/bottom-right-inactive.xpm | 12 +++++++++--- 6 files changed, 42 insertions(+), 14 deletions(-) diff --git a/xfwm4/bottom-active.xpm b/xfwm4/bottom-active.xpm index 8ad96da..6512dc3 100644 --- a/xfwm4/bottom-active.xpm +++ b/xfwm4/bottom-active.xpm @@ -1,8 +1,10 @@ /* XPM */ static char * bottom_active_xpm[] = { -"8 2 3 1", +"8 4 3 1", " c None", ". c #2D2D2D", "+ c #484848", "........", +"........", +"........", "++++++++"}; diff --git a/xfwm4/bottom-inactive.xpm b/xfwm4/bottom-inactive.xpm index 69a8fe3..691d732 100644 --- a/xfwm4/bottom-inactive.xpm +++ b/xfwm4/bottom-inactive.xpm @@ -1,8 +1,10 @@ /* XPM */ static char * bottom_inactive_xpm[] = { -"8 2 3 1", +"8 4 3 1", " c None", ". c #2D2D2D", "+ c #393939", "........", +"........", +"........", "++++++++"}; diff --git a/xfwm4/bottom-left-active.xpm b/xfwm4/bottom-left-active.xpm index c6ebde9..6f1de4f 100644 --- a/xfwm4/bottom-left-active.xpm +++ b/xfwm4/bottom-left-active.xpm @@ -1,8 +1,14 @@ /* XPM */ static char * bottom_left_active_xpm[] = { -"2 2 3 1", +"16 8 3 1", " c None", ". c #484848", "+ c #2D2D2D", -".+", -".."}; +".+ ", +".+ ", +".+ ", +".+ ", +".+++++++++++++++", +".+++++++++++++++", +".+++++++++++++++", +"................"}; diff --git a/xfwm4/bottom-left-inactive.xpm b/xfwm4/bottom-left-inactive.xpm index d38cacb..1adae65 100644 --- a/xfwm4/bottom-left-inactive.xpm +++ b/xfwm4/bottom-left-inactive.xpm @@ -1,8 +1,14 @@ /* XPM */ static char * bottom_left_inactive_xpm[] = { -"2 2 3 1", +"16 8 3 1", " c None", ". c #393939", "+ c #2D2D2D", -".+", -".."}; +".+ ", +".+ ", +".+ ", +".+ ", +".+++++++++++++++", +".+++++++++++++++", +".+++++++++++++++", +"................"}; diff --git a/xfwm4/bottom-right-active.xpm b/xfwm4/bottom-right-active.xpm index 42eefb1..34f8845 100644 --- a/xfwm4/bottom-right-active.xpm +++ b/xfwm4/bottom-right-active.xpm @@ -1,8 +1,14 @@ /* XPM */ static char * bottom_right_active_xpm[] = { -"2 2 3 1", +"16 8 3 1", " c None", ". c #2D2D2D", "+ c #484848", -".+", -"++"}; +" .+", +" .+", +" .+", +" .+", +"...............+", +"...............+", +"...............+", +"++++++++++++++++"}; diff --git a/xfwm4/bottom-right-inactive.xpm b/xfwm4/bottom-right-inactive.xpm index 6c3ab6d..d584d7c 100644 --- a/xfwm4/bottom-right-inactive.xpm +++ b/xfwm4/bottom-right-inactive.xpm @@ -1,8 +1,14 @@ /* XPM */ static char * bottom_right_inactive_xpm[] = { -"2 2 3 1", +"16 8 3 1", " c None", ". c #2D2D2D", "+ c #393939", -".+", -"++"}; +" .+", +" .+", +" .+", +" .+", +"...............+", +"...............+", +"...............+", +"++++++++++++++++"};