Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix crash on non-libinput pointers (e.g. X11 backend) | Devin J. Pohly | 2020-12-24 | 1 | -5/+7 |
| | |||||
* | Same target as dwm sounds like a good goal | Devin J. Pohly | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #49 from guidocella/layer-shell | Devin J. Pohly | 2020-12-24 | 4 | -13/+771 |
|\ | | | | | Layer shell | ||||
| * | extract function and comment it | Guido Cella | 2020-09-11 | 1 | -11/+18 |
| | | |||||
| * | remove braces | Guido Cella | 2020-09-11 | 1 | -2/+1 |
| | | |||||
| * | fix multi monitors even more | Guido Cella | 2020-09-11 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | | When a monitor is created or removed, the geometries of the old ones must be updated. This is also more efficient than before since we calculate the monitor geometries only when creating and destroying monitors. arrangelayers() is needed to recalculate m->w. arrange() is so clients don't move to the left monitor when plugging or unplugging monitors (clients keep the same coordinates but the field below them changes). | ||||
| * | simplify | Guido Cella | 2020-09-10 | 1 | -1/+1 |
| | | |||||
| * | fix multi monitors further | Guido Cella | 2020-09-09 | 1 | -3/+1 |
| | | | | | | | | | | Fix layer surfaces without an exculsive area by using the right x and y for the current monitor (by Stivvo). | ||||
| * | remove unneeded line | Guido Cella | 2020-09-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | | 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. | ||||
| * | try to fix again | Guido Cella | 2020-09-08 | 1 | -4/+1 |
| | | | | | | | | Calculate x and y of usable_area, not just width and heigth. | ||||
| * | fix multi monitors | Guido Cella | 2020-09-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | remove variable | Guido Cella | 2020-09-06 | 1 | -4/+3 |
| | | |||||
| * | use size_t for lengths | Guido Cella | 2020-09-05 | 1 | -4/+4 |
| | | |||||
| * | rename variable and merge 2 lines | Guido Cella | 2020-09-05 | 1 | -3/+2 |
| | | |||||
| * | simplify | Guido Cella | 2020-09-05 | 1 | -10/+4 |
| | | |||||
| * | use unsigned int for loop indexes | Guido Cella | 2020-09-04 | 1 | -3/+3 |
| | | |||||
| * | Don't let overlays lose focus | Guido Cella | 2020-09-04 | 1 | -2/+20 |
| | | | | | | | | | | if you open a new window while an overlay is mapped, the overlay should stay focused | ||||
| * | fix restoring pointer focus | Guido Cella | 2020-09-04 | 1 | -1/+6 |
| | | | | | | | | | | I don't know why I thought it was working before. Maybe I should go do something else. | ||||
| * | improve code style | Guido Cella | 2020-09-04 | 1 | -4/+4 |
| | | |||||
| * | remove comment | Guido Cella | 2020-09-04 | 1 | -1/+1 |
| | | | | | | | | | | I don't know why it wasn't working before but now it does ¯\(ツ)/¯ (it wasn't caused by the just removed code either) | ||||
| * | remove mysterious code | Guido Cella | 2020-09-04 | 1 | -7/+0 |
| | | | | | | | | | | Why would a surface that's not keyboard interactive get focused? Let's remove this for now and see if issues arise. | ||||
| * | focus the previous client in the similar code too | Guido Cella | 2020-09-04 | 1 | -2/+1 |
| | | |||||
| * | refocus old client | Guido Cella | 2020-09-04 | 1 | -3/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | fix alhpabetical order | Guido Cella | 2020-09-04 | 1 | -8/+8 |
| | | |||||
| * | simplify focus leave condition | Guido Cella | 2020-09-04 | 1 | -7/+2 |
| | | |||||
| * | reuse motionnotify() | Guido Cella | 2020-09-04 | 1 | -10/+8 |
| | | |||||
| * | enable pointer on layer surfaces | Guido Cella | 2020-09-04 | 1 | -5/+49 |
| | | |||||
| * | more TODOs | Guido Cella | 2020-09-03 | 1 | -2/+3 |
| | | |||||
| * | fix focus leave condition | Guido Cella | 2020-09-03 | 1 | -3/+4 |
| | | | | | | | | needs refactoring and testing | ||||
| * | send pressed keys to topmost layer surface | Guido Cella | 2020-09-03 | 1 | -2/+3 |
| | | |||||
| * | update README | Guido Cella | 2020-08-29 | 1 | -1/+0 |
| | | |||||
| * | remove blank line | Guido Cella | 2020-08-29 | 1 | -1/+0 |
| | | |||||
| * | don't handle failed calloc | Guido Cella | 2020-08-29 | 1 | -2/+0 |
| | | | | | | | | be consistent with the rest of the code | ||||
| * | order variables more how like they are initialized | Guido Cella | 2020-08-29 | 1 | -1/+1 |
| | | |||||
| * | simplify make clean | Guido Cella | 2020-08-28 | 1 | -1/+1 |
| | | |||||
| * | Reuse render() and struct timespec *now | Guido Cella | 2020-08-28 | 1 | -36/+14 |
| | | |||||
| * | reuse m->m | Guido Cella | 2020-08-27 | 1 | -4/+1 |
| | | |||||
| * | remove comment | Guido Cella | 2020-08-27 | 1 | -2/+0 |
| | | | | | | | | | | wlr_output_layout_get_box internally calls wlr_output_effective_resolution | ||||
| * | set a monitor geometry only when creating it | Guido Cella | 2020-08-27 | 1 | -3/+4 |
| | | | | | | | | Lets layers with an exclusive area shrink the usable area | ||||
| * | render in the same order as sway | Guido Cella | 2020-08-27 | 1 | -2/+2 |
| | | |||||
| * | update make clean | Guido Cella | 2020-08-26 | 1 | -1/+1 |
| | | |||||
| * | correct variable name | Guido Cella | 2020-08-26 | 1 | -1/+1 |
| | | |||||
| * | rename functions too | Guido Cella | 2020-08-26 | 1 | -19/+19 |
| | | |||||
| * | remove extra space | Guido Cella | 2020-08-26 | 1 | -1/+1 |
| | | |||||
| * | render layer surfaces | Guido Cella | 2020-08-26 | 1 | -0/+43 |
| | | |||||
| * | improve naming | Guido Cella | 2020-08-26 | 1 | -62/+63 |
| | | | | | | | | | | | | | | 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 | ||||
| * | layer shell initial attempt | Guido Cella | 2020-08-24 | 3 | -2/+688 |
| | | |||||
* | | use the install command to install | Devin J. Pohly | 2020-12-24 | 1 | -3/+1 |
| | | |||||
* | | Merge pull request #65 from Keating950/master | Devin J. Pohly | 2020-12-24 | 2 | -0/+8 |
|\ \ | | | | | | | Add install target to Makefile | ||||
| * | | add install target to Makefile and corresponding prefix variable to config.mk | Keating950 | 2020-11-22 | 2 | -0/+8 |
| |/ |