Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-09 | fix multi monitors further | Guido Cella | |
Fix layer surfaces without an exculsive area by using the right x and y for the current monitor (by Stivvo). | |||
2020-09-08 | remove unneeded line | Guido Cella | |
The bug was caused by usable_area's x and y not being set in arrangelayers. For example if on a 2nd HD monitor, x should be 1920 while the first one ends at 1919. So I don't see why m->m should be recalculated after creating the monitor. | |||
2020-09-08 | try to fix again | Guido Cella | |
Calculate x and y of usable_area, not just width and heigth. | |||
2020-09-08 | fix multi monitors | Guido Cella | |
If you don't recalculate the monitor's geometry before arranging, clients get arranged in the first monitor. I don't understand why this fixes the bug since tile() uses m->w rather than m->m, nor why it needs to be recalculated after creating the monitor but sway does it too. Although not necessary to fix the bug I also made arrangelayer() do like sway again and recalculate usable_area instead of reusing m->m, since m->m seems to be incorrect until it gets recalculated shortly after in arrange(), so I suspect that leaving usable_area = m->m will cause issues under certain circumstances. Someone with a multi-monitor setup or better knowledge of Wayland may be able to figure out the cause of the bug. For now, this makes layer shell work. | |||
2020-09-06 | remove variable | Guido Cella | |
2020-09-05 | use size_t for lengths | Guido Cella | |
2020-09-05 | rename variable and merge 2 lines | Guido Cella | |
2020-09-05 | simplify | Guido Cella | |
2020-09-04 | use unsigned int for loop indexes | Guido Cella | |
2020-09-04 | Don't let overlays lose focus | Guido Cella | |
if you open a new window while an overlay is mapped, the overlay should stay focused | |||
2020-09-04 | fix restoring pointer focus | Guido Cella | |
I don't know why I thought it was working before. Maybe I should go do something else. | |||
2020-09-04 | improve code style | Guido Cella | |
2020-09-04 | remove comment | Guido Cella | |
I don't know why it wasn't working before but now it does ¯\(ツ)/¯ (it wasn't caused by the just removed code either) | |||
2020-09-04 | remove mysterious code | Guido Cella | |
Why would a surface that's not keyboard interactive get focused? Let's remove this for now and see if issues arise. | |||
2020-09-04 | focus the previous client in the similar code too | Guido Cella | |
2020-09-04 | refocus old client | Guido Cella | |
When a layer surface is destroyed focus should be returned to the last client. Luckily if there are multiple overlays the previous overlay still gets focused. | |||
2020-09-04 | fix alhpabetical order | Guido Cella | |
2020-09-04 | simplify focus leave condition | Guido Cella | |
2020-09-04 | reuse motionnotify() | Guido Cella | |
2020-09-04 | enable pointer on layer surfaces | Guido Cella | |
2020-09-03 | more TODOs | Guido Cella | |
2020-09-03 | fix focus leave condition | Guido Cella | |
needs refactoring and testing | |||
2020-09-03 | send pressed keys to topmost layer surface | Guido Cella | |
2020-08-29 | remove blank line | Guido Cella | |
2020-08-29 | don't handle failed calloc | Guido Cella | |
be consistent with the rest of the code | |||
2020-08-29 | order variables more how like they are initialized | Guido Cella | |
2020-08-28 | Reuse render() and struct timespec *now | Guido Cella | |
2020-08-27 | reuse m->m | Guido Cella | |
2020-08-27 | remove comment | Guido Cella | |
wlr_output_layout_get_box internally calls wlr_output_effective_resolution | |||
2020-08-27 | set a monitor geometry only when creating it | Guido Cella | |
Lets layers with an exclusive area shrink the usable area | |||
2020-08-27 | render in the same order as sway | Guido Cella | |
2020-08-26 | correct variable name | Guido Cella | |
2020-08-26 | rename functions too | Guido Cella | |
2020-08-26 | remove extra space | Guido Cella | |
2020-08-26 | render layer surfaces | Guido Cella | |
2020-08-26 | improve naming | Guido Cella | |
rename Layer to LayerSurface; layer should refer to overlay, top, bottom or background LayerSurface variables are always called layersurface wlr_layer_surface_v1 variables are always called wlr_layer_surface | |||
2020-08-24 | layer shell initial attempt | Guido Cella | |
2020-08-23 | set up interfaces in same order as sway | Devin J. Pohly | |
This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting. | |||
2020-08-22 | enable gamma control | Guido Cella | |
2020-08-19 | cleanup function to match dwm | Devin J. Pohly | |
2020-08-19 | fix usage to match | Devin J. Pohly | |
2020-08-19 | we're not really using the log | Devin J. Pohly | |
2020-08-19 | this is technically barf too I guess? | Devin J. Pohly | |
2020-08-19 | only call updatewindowtype for x11 windows | Devin J. Pohly | |
2020-08-18 | handle NULL return from backend_autocreate | Devin J. Pohly | |
Fixes #44. | |||
2020-08-18 | add macro for fatal errors | Devin J. Pohly | |
dwm lets the OS do cleanup if the program errors out | |||
2020-08-18 | Use SIGCHLD handler from dwm | Devin J. Pohly | |
Fixes #46. | |||
2020-08-16 | make this marginally less ugly | Devin J. Pohly | |
2020-08-16 | wlr_session_change_vt is NULL safe | Devin J. Pohly | |
2020-08-16 | _net_wm not needed outside xwayland | Devin J. Pohly | |