Re: [dev] Please test dwm master
On 27 June 2011 19:54, Bogdan Ionuț wrote: > On Sun, Jun 26, 2011 at 07:23, Mikhail Gonchar wrote: >> On Sat, Jun 25, 2011 at 09:32:24AM +0100, garbeam wrote: >> > I'd like you to test it and let me know any issues. >> dwm hotkeys and mouse buttons doesn't work for me when Num Lock is on. >> Patch attached. >> >> My keyboard setup: >> setxkbmap us,ru >> xmodmap -e "keysym Caps_Lock = ISO_First_Group ISO_Last_Group" >> numlockx on >> >> xmodmap output: >> xmodmap: up to 4 keys per modifier, (keycodes in parentheses): >> >> shift Shift_L (0x32), Shift_R (0x3e) >> lock ISO_First_Group (0x42) >> control Control_L (0x25), Control_R (0x69) >> mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) >> mod2 Num_Lock (0x4d) >> mod3 >> mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L >> (0xcf) >> mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) >> >> x86-64 Linux system, X.Org 7.6, evdev, 105 key PC keyboard. >> > > it works with num lock, but not with scroll lock on. Thanks for this patch, it is applied. Cheers, --garbeam
Re: [dev] Please test dwm master
On Sun, Jun 26, 2011 at 07:23, Mikhail Gonchar wrote: > On Sat, Jun 25, 2011 at 09:32:24AM +0100, garbeam wrote: > > Hi there, > > > > I'd like you to test it and let me know any issues. > > Hello. > > dwm hotkeys and mouse buttons doesn't work for me when Num Lock is on. > Patch attached. > > My keyboard setup: > setxkbmap us,ru > xmodmap -e "keysym Caps_Lock = ISO_First_Group ISO_Last_Group" > numlockx on > > xmodmap output: > xmodmap: up to 4 keys per modifier, (keycodes in parentheses): > > shift Shift_L (0x32), Shift_R (0x3e) > lockISO_First_Group (0x42) > control Control_L (0x25), Control_R (0x69) > mod1Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) > mod2Num_Lock (0x4d) > mod3 > mod4Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L > (0xcf) > mod5ISO_Level3_Shift (0x5c), Mode_switch (0xcb) > > x86-64 Linux system, X.Org 7.6, evdev, 105 key PC keyboard. > > it works with num lock, but not with scroll lock on. --- a/dwm.c 2011-06-27 21:35:11.0 +0300 +++ b/dwm.c 2011-06-27 21:48:55.44301 +0300 @@ -42,7 +42,7 @@ /* macros */ #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) -#define CLEANMASK(mask) (mask & ~numlockmask & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)) +#define CLEANMASK(mask) (mask & ~(numlockmask|LockMask) & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask)) #define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (RY) && (Y) < (RY) + (RH)) #define ISVISIBLE(C)((C->tags & C->mon->tagset[C->mon->seltags])) #define LENGTH(X) (sizeof X / sizeof X[0])
Re: [dev] Experimental editor
On 6/25/11, Connor Lane Smith wrote: > Progress update. You can edit things, but we don't have the B-tree in > place yet, so I'm mostly working on the peripherals. I'll set up a > repo very soon, though aside from my UTF-8 and display abstraction > library I have little to show, yet. > > Here's a little screenshot of the aesthetic I'm going for. There's not > much to see -- that's a feature. > > cls I'm interested to see what you come up with, and hope there's something that I can test soon. Will there be some sort of command buffer like in Sam? Or did you have something else in mind? John
Re: [dev] wmii as a prepatched dwm (Was: segfault)
Hey, On 27 June 2011 08:13, a.l.e wrote: > this is the main reason why i prefer wmii to dwm: i don't want to keep track > of versions of dwm and of the patches i have applied. I can't help but think that the solution would be not to apply patches. You don't really need to. > at least: dynamic tags 'Dynamic' is a rather overloaded term, but dwm's tagging *is* dynamic... Moreso than wmii. cls
Re: [dev] Please test dwm master
2011/6/25 garbeam : > I'm planning the dwm-5.9 release very shortly, prior to a major > overhaul of the multiscreen handling and the draw.c introduction in > dwm 6.0. > > I'd like you to test it and let me know any issues. I have one minor issue that never really bothered me, but while you are fixing bugs, I thought I could mention it: When Firefox opens a dialog, this usually opens a floating window. If, however, Firefox opens such a window while I am not viewing the tag that Firefox is on, the dialog will be opened as a managed window. I guess this is generic to any application opening dialog windows. -- Thomas Dahms
Re: [dev] [dwm] segfault
On Wed, 22 Jun 2011, Arian Kuschki wrote: hg summary shows parent: 1560:e181c9cf318e tip [...] How can I diff my local version against tip? Sorry am more of a git user. [Later] On Wed, 22 Jun 2011, Arian Kuschki wrote: On 22 June 2011 15:44, Andrew Hills wrote: On Wed, Jun 22, 2011 at 9:32 AM, Arian Kuschki wrote: How can I diff my local version against tip? Check out tip: hg clone http://hg.suckless.org/dwm Then diff: diff /path/to/your/dwm.c /path/to/tip/dwm.c yeah, I guess I was being stupid there.. I was looking for something analogous to git diff, but obviously this works and is very simple, thanks. Err. Perhaps Andrew trimmed too much context. Since you already have an hg repo, it's much simpler to just run `hg diff`. Even if you wanted to diff against the latest version from the hg.suckless.org repo, you still shouldn't have to reclone the whole thing: hg pull¹ hg diff -r tip -- Best, Ben ¹: Since you mentioned being more of a git user, keep in mind that 'pull' and 'fetch' are reversed in git and mercurial: git fetch = fetch the changes from the remote repo ("fetch" = retrieve) git pull = git fetch + git merge ("pull" = fetch and merge the changes into the branch) hg pull = pull the changes from the remote repo ("pull" = retrieve) hg fetch = hg pull + hg update (differs depending on whether new branch head found)
Re: [dev] wmii as a prepatched dwm (Was: segfault)
2011/6/27 a.l.e : > this is the main reason why i prefer wmii to dwm: i don't want to keep track > of > versions of dwm and of the patches i have applied. I've been using dwm-sprinkles, it's a nice mashup of patches and maintained up to date. http://0mark.unserver.de/projects/dwm-sprinkles/ -- Fernando
[dev] wmii as a prepatched dwm (Was: segfault)
hi, Also, I applied the 'pertag' patch and maybe another one that I can't remember right now. How can I diff my local version against tip? Sorry am more of a git user. this is the main reason why i prefer wmii to dwm: i don't want to keep track of versions of dwm and of the patches i have applied. since wmii seems to be on a dead path, i would welcome if somebody would create and maintain a dwm branch which would offer the same features as wmii (for a GUI user... so no need for exotic scripting) but in a more "suckless" way (at least: dynamic tags; d, m and f views...) i'm already too much involved in free software and i won't start such a project myself... but if somebody is wondering if he should or not, well there is at least one user who would appreciate it! ciao a.l.e