fixed small bug in wmirc, also sanitized default wm events

This commit is contained in:
garbeam 2005-12-06 01:00:04 +02:00
parent 3d3499ff4a
commit 68f01ef3bf
2 changed files with 3 additions and 3 deletions

View File

@ -593,8 +593,8 @@ static void init_default()
def[WM_LOCKED] = wmii_create_ixpfile(ixps, "/default/locked", "1");
def[WM_LAYOUT] = wmii_create_ixpfile(ixps, "/default/layout", LAYOUT);
def[WM_SEL_PAGE] = ixp_create(ixps, "/sel");
def[WM_EVENT_PAGE_UPDATE] = ixp_create(ixps, "/default/event/pageupdate");
def[WM_EVENT_CLIENT_UPDATE] = ixp_create(ixps, "/default/event/clientupdate");
def[WM_EVENT_PAGE_UPDATE] = ixp_create(ixps, "/event/pageupdate");
def[WM_EVENT_CLIENT_UPDATE] = ixp_create(ixps, "/event/clientupdate");
def[WM_EVENT_B1PRESS] = ixp_create(ixps, "/default/event/b1press");
def[WM_EVENT_B2PRESS] = ixp_create(ixps, "/default/event/b2press");
def[WM_EVENT_B3PRESS] = ixp_create(ixps, "/default/event/b3press");

View File

@ -174,7 +174,7 @@ for(i in 1 2 3 4 5 6 7 8 9) {
wmir write /keys/geometry center,center,100,$BAR_HEIGHT
wmir write /keys/font $FONT
selstyle /keys/box/style
selstyle /keys/box
kmode normal
# WMIMENU CONFIGURATION