Skip to content

Commit 6057a2d

Browse files
achadwicklots0logs
authored andcommitted
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 #100.
1 parent 858e629 commit 6057a2d

6 files changed

Lines changed: 48 additions & 18 deletions

File tree

src/xfwm4/bottom-active.xpm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_active_xpm[] = {
3-
"8 1 2 1",
3+
"8 5 3 1",
44
" c None",
5-
". c #484848",
6-
"........"};
5+
". c #444444",
6+
"# c #484848",
7+
"........",
8+
"........",
9+
"........",
10+
"........",
11+
"########"};

src/xfwm4/bottom-inactive.xpm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_inactive_xpm[] = {
3-
"8 1 2 1",
3+
"8 5 3 1",
44
" c None",
5-
". c #393939",
6-
"........"};
5+
". c #444444",
6+
"# c #393939",
7+
"........",
8+
"........",
9+
"........",
10+
"........",
11+
"########"};

src/xfwm4/bottom-left-active.xpm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_left_active_xpm[] = {
3-
"1 1 2 1",
3+
"24 5 3 1",
44
" c None",
5-
". c #484848",
6-
"."};
5+
". c #444444",
6+
"# c #484848",
7+
"#.......................",
8+
"#.......................",
9+
"#.......................",
10+
"#.......................",
11+
"########################"};

src/xfwm4/bottom-left-inactive.xpm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_left_inactive_xpm[] = {
3-
"1 1 2 1",
3+
"24 5 3 1",
44
" c None",
5-
". c #393939",
6-
"."};
5+
". c #444444",
6+
"# c #393939",
7+
"#.......................",
8+
"#.......................",
9+
"#.......................",
10+
"#.......................",
11+
"########################"};

src/xfwm4/bottom-right-active.xpm

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_right_active_xpm[] = {
3-
"1 1 2 1",
3+
"24 5 3 1",
44
" c None",
5-
". c #484848",
6-
"."};
5+
". c #444444",
6+
"# c #484848",
7+
".......................#",
8+
".......................#",
9+
".......................#",
10+
".......................#",
11+
"########################"};
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* XPM */
22
static char * bottom_right_inactive_xpm[] = {
3-
"1 1 2 1",
3+
"24 5 3 1",
44
" c None",
5-
". c #393939",
6-
"."};
5+
". c #444444",
6+
"# c #393939",
7+
".......................#",
8+
".......................#",
9+
".......................#",
10+
".......................#",
11+
"########################"};

0 commit comments

Comments
 (0)