This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.
The branch, next has been updated
via 91205b110764cba18c61b21806a8a0f209c67a87 (commit)
via 646e3103370ec96fffc215c8d67151dde48e885d (commit)
from ca9dd144aedf36876d84299c8a9eb15ee8856875 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/91205b110764cba18c61b21806a8a0f209c67a87
commit 91205b110764cba18c61b21806a8a0f209c67a87
Author: Doug Torrance <[email protected]>
Date: Sun May 18 22:17:04 2014 -0500
WPrefs: updates to FrameBorderColor/FrameSelectedBorderColor options
In response to Amadeusz's comments regarding my patch "WPrefs: Add ability
to
edit FrameBorderColor/FrameSelectedBorderColor", this new patch attempts to
reduce the confusion between focused and selected windows. In particular,
only the frame border color for non-selected windows appears in the preview.
The frame border color for selected window colors can still be changed, but
it
does not appear in the preview. In addition, the hand icon has been removed
from the preview for these two options.
I also looked into the possibility of adding a new border color for focused
windows. This appears to be nontrivial, as the border color belongs to
WFrameWindow, but the state of being focused belongs to WWindow.
diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c
index cbbcaa74..656a506c 100644
--- a/WPrefs.app/Appearance.c
+++ b/WPrefs.app/Appearance.c
@@ -388,8 +388,8 @@ static WMRect previewColorPositions[] = {
{{30, 160}, {90, 20}},
{{30, 180}, {90, 20}},
{{30, 200}, {90, 20}},
- {{30, 40}, {190, 20}},
- {{30, 10}, {190, 20}},
+ {{0, 0}, {0, 0}},
+ {{0, 0}, {0, 0}},
{{155, 130}, {64, 64}},
{{155, 130}, {64, 64}},
{{155, 130}, {64, 64}},
@@ -785,7 +785,7 @@ static void updatePreviewBox(_Panel * panel, int elements)
if (elements & (1 << PFOCUSED)) {
renderPreview(panel, gc, PFOCUSED, RBEV_RAISED2);
- colorUpdate |= 1 << FTITLE_COL | 1 << FSBORDER_COL;
+ colorUpdate |= 1 << FTITLE_COL | 1 << FBORDER_COL;
}
if (elements & (1 << PUNFOCUSED)) {
renderPreview(panel, gc, PUNFOCUSED, RBEV_RAISED2);
@@ -1365,8 +1365,8 @@ static void changeColorPage(WMWidget * w, void *data)
{5, 160},
{5, 180},
{5, 180},
- {5, 40},
- {5, 10},
+ {-22, -21},
+ {-22, -21},
{130, 140},
{130, 140},
{130, 140},
@@ -1489,6 +1489,12 @@ static void updateColorPreviewBox(_Panel * panel, int
elements)
if (elements & (1 << FBORDER_COL)) {
XDrawRectangle(dpy, pnot,
WMColorGC(panel->colors[FBORDER_COL]),
+ 29, 9, 190, 20);
+ XDrawRectangle(dpy, d,
+ WMColorGC(panel->colors[FBORDER_COL]),
+ 29, 9, 190, 20);
+ XDrawRectangle(dpy, pnot,
+ WMColorGC(panel->colors[FBORDER_COL]),
29, 39, 190, 20);
XDrawRectangle(dpy, d,
WMColorGC(panel->colors[FBORDER_COL]),
@@ -1536,16 +1542,6 @@ static void updateColorPreviewBox(_Panel * panel, int
elements)
WMColorGC(panel->colors[FBORDER_COL]),
119, 120, 119, 220);
}
- if (elements & (1 << FSBORDER_COL)) {
- XDrawRectangle(dpy, pnot,
- WMColorGC(panel->
- colors[FSBORDER_COL]),
- 29, 9, 190, 20);
- XDrawRectangle(dpy, d,
- WMColorGC(panel->
- colors[FSBORDER_COL]),
- 29, 9, 190, 20);
- }
/*
if (elements & (1 << ICONT_COL)) {
@@ -1838,8 +1834,8 @@ static void createPanel(Panel * p)
WMAddPopUpButtonItem(panel->colP, _("Disabled Menu Item Text"));
WMAddPopUpButtonItem(panel->colP, _("Menu Highlight Color"));
WMAddPopUpButtonItem(panel->colP, _("Highlighted Menu Text Color"));
- WMAddPopUpButtonItem(panel->colP, _("Frame Border Color"));
- WMAddPopUpButtonItem(panel->colP, _("Selected Frame Border Color"));
+ WMAddPopUpButtonItem(panel->colP, _("Window Border Color"));
+ WMAddPopUpButtonItem(panel->colP, _("Selected Window Border Color"));
/*
WMAddPopUpButtonItem(panel->colP, _("Miniwindow Title"));
WMAddPopUpButtonItem(panel->colP, _("Miniwindow Title Back"));
http://repo.or.cz/w/wmaker-crm.git/commit/646e3103370ec96fffc215c8d67151dde48e885d
commit 646e3103370ec96fffc215c8d67151dde48e885d
Author: Carlos R. Mafra <[email protected]>
Date: Mon May 19 00:06:27 2014 +0100
Revert change
diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c
index 256a74d0..cbbcaa74 100644
--- a/WPrefs.app/Appearance.c
+++ b/WPrefs.app/Appearance.c
@@ -510,15 +510,15 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList *
texture, int width, int
str = WMGetFromPLString(WMGetFromPLArray(texture, 1));
path = wfindfileinarray(GetObjectForKey("PixmapPath"), str);
- if (path) {
+ if (path)
timage = RLoadImage(rc, path, 0);
- if (!timage) {
+
+ if (!path || !timage) {
wwarning("could not load file '%s': %s", path ?
path : str, RMessageForError(RErrorCode));
texture =
WMCreatePropListFromDescription("(solid, black)");
type = "solid";
- }
- wfree(path);
}
+ wfree(path);
}
if (strcasecmp(type, "solid") == 0) {
-----------------------------------------------------------------------
Summary of changes:
WPrefs.app/Appearance.c | 38 +++++++++++++++++---------------------
1 files changed, 17 insertions(+), 21 deletions(-)
repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
--
To unsubscribe, send mail to [email protected].