mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 19:12:32 +01:00
Add missing initializers
This commit is contained in:
committed by
Carlos R. Mafra
parent
4247ac9f82
commit
62f4eff7ae
@@ -1600,8 +1600,8 @@ static Cursor magnifyGrabPointer(W_ColorPanel * panel)
|
||||
W_Screen *scr = WMWidgetScreen(panel->win);
|
||||
Pixmap magPixmap, magPixmap2;
|
||||
Cursor magCursor;
|
||||
XColor fgColor = { 0, 0, 0, 0, DoRed | DoGreen | DoBlue };
|
||||
XColor bgColor = { 0, 0xbf00, 0xa000, 0x5000, DoRed | DoGreen | DoBlue };
|
||||
XColor fgColor = { 0, 0, 0, 0, DoRed | DoGreen | DoBlue, 0 };
|
||||
XColor bgColor = { 0, 0xbf00, 0xa000, 0x5000, DoRed | DoGreen | DoBlue, 0 };
|
||||
|
||||
/* Cursor creation stuff */
|
||||
magPixmap = XCreatePixmapFromBitmapData(scr->display, W_DRAWABLE(scr),
|
||||
|
||||
@@ -1759,6 +1759,7 @@ W_ViewDelegate _TextViewDelegate = {
|
||||
NULL,
|
||||
textDidResize,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
#define TEXT_BUFFER_INCR 8
|
||||
|
||||
@@ -110,7 +110,7 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
|
||||
{
|
||||
RImage *icon;
|
||||
char *path;
|
||||
RColor gray = { 0xae, 0xaa, 0xae };
|
||||
RColor gray = { 0xae, 0xaa, 0xae, 0 };
|
||||
|
||||
*icon1 = NULL;
|
||||
*icon2 = NULL;
|
||||
|
||||
@@ -76,7 +76,7 @@ static void
|
||||
createImages(WMScreen * scr, RContext * rc, RImage * xis, char *file, WMPixmap ** icon1, WMPixmap ** icon2)
|
||||
{
|
||||
RImage *icon;
|
||||
RColor gray = { 0xae, 0xaa, 0xae };
|
||||
RColor gray = { 0xae, 0xaa, 0xae, 0 };
|
||||
|
||||
*icon1 = WMCreatePixmapFromFile(scr, file);
|
||||
if (!*icon1) {
|
||||
|
||||
@@ -1143,9 +1143,9 @@ static WEditMenu *duplicateMenu(WEditMenu * menu)
|
||||
|
||||
static void dragItem(WEditMenu * menu, WEditMenuItem * item, Bool copy)
|
||||
{
|
||||
static XColor black = { 0, 0, 0, 0, DoRed | DoGreen | DoBlue };
|
||||
static XColor green = { 0x0045b045, 0x4500, 0xb000, 0x4500, DoRed | DoGreen | DoBlue };
|
||||
static XColor back = { 0, 0xffff, 0xffff, 0xffff, DoRed | DoGreen | DoBlue };
|
||||
static XColor black = { 0, 0, 0, 0, DoRed | DoGreen | DoBlue, 0 };
|
||||
static XColor green = { 0x0045b045, 0x4500, 0xb000, 0x4500, DoRed | DoGreen | DoBlue, 0 };
|
||||
static XColor back = { 0, 0xffff, 0xffff, 0xffff, DoRed | DoGreen | DoBlue, 0 };
|
||||
Display *dpy = W_VIEW_DISPLAY(menu->view);
|
||||
WMScreen *scr = W_VIEW_SCREEN(menu->view);
|
||||
int x, y;
|
||||
|
||||
Reference in New Issue
Block a user