pretty printing bugs a bit 427053f8
Anselm R Garbe · 2010-04-01 22:34 1 file(s) · +31 −14
BUGS +31 −14
1 +
---
2 +
1 3
18:17 < Biolunar> when i change my resolution in dwm (to a smaller one) and then back to the native, the top bar is not repainted. that's since 5.7.2, in 5.6 it worked fine
2 4
18:19 < Biolunar> is it just happening to me or a (known) bug?
3 5
18:24 < Biolunar> and in addition, mplayers fullscreen is limited to the small resolution after i changed it back to the native
4 6
5 7
reproducible with xrandr -s but not with --output and --mode, strange
6 8
9 +
---
7 10
8 11
> enternotify is handled even when the entered window is already focused
9 12
> (eg moving the mouse to the bar and back, scrolling on the border..)
10 -
	>
11 -
	> focusing might be expensive for some clients (eg dim/light up)
12 -
	>
13 -
	> a possible solution is to modify enternotify:
14 -
	>
15 -
	> +       c = wintoclient(ev->window);
16 -
	>        if((m = wintomon(ev->window)) && m != selmon) {
17 -
		>                unfocus(selmon->sel);
18 -
		>                selmon = m;
19 -
		>        }
20 -
		> +       else if (c == selmon->sel || c == NULL)
21 -
	> +               return;
22 -
13 +
>
14 +
> focusing might be expensive for some clients (eg dim/light up)
15 +
>
16 +
> a possible solution is to modify enternotify:
17 +
>
18 +
> +       c = wintoclient(ev->window);
19 +
>        if((m = wintomon(ev->window)) && m != selmon) {
20 +
>                unfocus(selmon->sel);
21 +
>                selmon = m;
22 +
>        }
23 +
> +       else if (c == selmon->sel || c == NULL)
24 +
> +               return;
23 25
26 +
---
24 27
25 28
> another corner case:
26 29
27 30
a tiled client can be resized with mod+right click, but it only works
28 31
on the main monitor
32 +
33 +
---
29 34
30 35
dmenu appears on the monitor where the pointer is and not on selmon
31 36
37 +
---
32 38
33 39
yet another corner case:
34 40
open a terminal, focus another monitor, but without moving the mouse
35 41
pointer there
36 42
if there is no client on the other monitor to get the focus, then the
37 43
terminal will be unfocused but it will accept input
38 -
39 44
40 45
---
41 46
57 62
The quick fix is commenting out the code in lines 817/818 in hg tip 
58 63
dwm. I cannot confirm this has no side effects (I think it does) and I 
59 64
will address this issue shortly with a real fix. 
65 +
66 +
---
67 +
68 +
SDL seems to not like non-reparenting WMs:
69 +
70 +
> I would like to mention SDL problems, however SDL is not crucial to
71 +
> me anymore; people that really care about it should speak up and
72 +
> propose dwm / SDL patch or cooperation scheme in that matter. 
73 +
74 +
Patching SDL, bugging them?
75 +
76 +
---