You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

  1. 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. 18:19 < Biolunar> is it just happening to me or a (known) bug?
  3. 18:24 < Biolunar> and in addition, mplayers fullscreen is limited to the small resolution after i changed it back to the native
  4. reproducible with xrandr -s but not with --output and --mode, strange
  5. > enternotify is handled even when the entered window is already focused
  6. > (eg moving the mouse to the bar and back, scrolling on the border..)
  7. >
  8. > focusing might be expensive for some clients (eg dim/light up)
  9. >
  10. > a possible solution is to modify enternotify:
  11. >
  12. > + c = wintoclient(ev->window);
  13. > if((m = wintomon(ev->window)) && m != selmon) {
  14. > unfocus(selmon->sel);
  15. > selmon = m;
  16. > }
  17. > + else if (c == selmon->sel || c == NULL)
  18. > + return;
  19. > another corner case:
  20. a tiled client can be resized with mod+right click, but it only works
  21. on the main monitor
  22. dmenu appears on the monitor where the pointer is and not on selmon