Xfwm4: improve accessibility (wider bottom edge)

Since Xfwm have never expressed much interest in virtual resize
grips extending away from the window area, and need to support non-
composited configurations anyway, this usability fix is needed in
Numix. Single-pixel borders are not enough.

This commit adds a 5px bottom border and big corner resize grips to
Xfwm allow windows to be resized more easily. This improves matters
significantly for tablet and mouse/touchpad users.

The corner resize grips are from NeXTSTEP, or more accurately its
clones on Linux such as Window Maker. The bottom border as a whole
is styled to match the rest of the theme.

Closes numixproject/numix-gtk-theme#100.
latest-release
Andrew Chadwick 2017-08-30 00:16:16 +01:00 committed by Dustin Falgout
parent 858e6292c4
commit 6057a2d907
6 changed files with 48 additions and 18 deletions

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_active_xpm[] = { static char * bottom_active_xpm[] = {
"8 1 2 1", "8 5 3 1",
" c None", " c None",
". c #484848", ". c #444444",
"........"}; "# c #484848",
"........",
"........",
"........",
"........",
"########"};

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_inactive_xpm[] = { static char * bottom_inactive_xpm[] = {
"8 1 2 1", "8 5 3 1",
" c None", " c None",
". c #393939", ". c #444444",
"........"}; "# c #393939",
"........",
"........",
"........",
"........",
"########"};

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_left_active_xpm[] = { static char * bottom_left_active_xpm[] = {
"1 1 2 1", "24 5 3 1",
" c None", " c None",
". c #484848", ". c #444444",
"."}; "# c #484848",
"#.......................",
"#.......................",
"#.......................",
"#.......................",
"########################"};

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_left_inactive_xpm[] = { static char * bottom_left_inactive_xpm[] = {
"1 1 2 1", "24 5 3 1",
" c None", " c None",
". c #393939", ". c #444444",
"."}; "# c #393939",
"#.......................",
"#.......................",
"#.......................",
"#.......................",
"########################"};

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_right_active_xpm[] = { static char * bottom_right_active_xpm[] = {
"1 1 2 1", "24 5 3 1",
" c None", " c None",
". c #484848", ". c #444444",
"."}; "# c #484848",
".......................#",
".......................#",
".......................#",
".......................#",
"########################"};

View File

@ -1,6 +1,11 @@
/* XPM */ /* XPM */
static char * bottom_right_inactive_xpm[] = { static char * bottom_right_inactive_xpm[] = {
"1 1 2 1", "24 5 3 1",
" c None", " c None",
". c #393939", ". c #444444",
"."}; "# c #393939",
".......................#",
".......................#",
".......................#",
".......................#",
"########################"};