parent
7403f894d9
commit
57e5fb09d4
|
@ -645,9 +645,9 @@ ActionEncode(Action * aa, char *buf, int len)
|
|||
case EVENT_KEY_UP:
|
||||
event = "KeyUp";
|
||||
goto encode_kb;
|
||||
encode_kb:
|
||||
if (!aa->key_str)
|
||||
return 0;
|
||||
encode_kb:
|
||||
len = Esnprintf(buf, len, "%-7s %4s %8s %s\n", event, mod, aa->key_str,
|
||||
(aa->action->params) ? aa->action->params : "");
|
||||
break;
|
||||
|
|
|
@ -729,8 +729,8 @@ BackgroundApplyWin(Background * bg, Window win)
|
|||
void
|
||||
BackgroundSet(Background * bg, Window win, unsigned int w, unsigned int h)
|
||||
{
|
||||
Pixmap pmap;
|
||||
unsigned long pixel;
|
||||
Pixmap pmap = None;
|
||||
unsigned long pixel = 0;
|
||||
|
||||
if (bg->pmap)
|
||||
pmap = bg->pmap;
|
||||
|
|
|
@ -181,8 +181,8 @@ static struct
|
|||
XserverRegion rgn_screen;
|
||||
int shadow_mode;
|
||||
unsigned int opac_or; /* 0 -> 0xffffffff */
|
||||
float opac_blur; /* 0. -> 1. */
|
||||
float opac_sharp; /* 0. -> 1. */
|
||||
double opac_blur; /* 0. -> 1. */
|
||||
double opac_sharp; /* 0. -> 1. */
|
||||
} Mode_compmgr;
|
||||
|
||||
#define _ECM_SET_CLIP_CHANGED() Mode_compmgr.reorder = 1
|
||||
|
@ -2517,7 +2517,6 @@ ECompMgrHandleRootEvent(XEvent * ev, void *prm)
|
|||
goto case_CreateNotify;
|
||||
else
|
||||
goto case_DestroyNotify;
|
||||
break;
|
||||
|
||||
case ConfigureNotify:
|
||||
if (ev->xconfigure.window == VRoot.win)
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "iclass.h" /* FIXME - Should not be here */
|
||||
#include "snaps.h"
|
||||
#include "xwin.h"
|
||||
#include <math.h>
|
||||
|
||||
static const WinOp winops[] = {
|
||||
{"border", 2, 1, 0, EWIN_OP_BORDER},
|
||||
|
|
Loading…
Reference in New Issue