commit 68f01ef3bfb2b23112fa96c0704514ceb091f843
parent 3d3499ff4a002af239e16a276ccfc6308d3b9360
Author: garbeam <garbeam@localhost.localdomain>
Date: Tue, 6 Dec 2005 01:00:04 +0200
fixed small bug in wmirc, also sanitized default wm events
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmd/wm/wm.c b/cmd/wm/wm.c
@@ -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");
diff --git a/rc/wmirc b/rc/wmirc
@@ -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