aboutsummaryrefslogtreecommitdiff
path: root/rootston/layer_shell.c
AgeCommit message (Collapse)Author
2018-04-26layer-shell: Fix crash when cursor is intially outside any outputGuido Günther
On the X11 backend the cursor position might be outside the output window so no output is returned leading to the assert to trigger. Use sane fallback instead of crashing.
2018-04-24layer-shell: use output_damage_{whole,from}_local_surface on map/unmapGuido Günther
These handle rotation and scaling
2018-04-24layer-shell: use output_damage_{whole,from}_local_surface for popupsGuido Günther
Reuse what already handles rotation and scaling. This unbreaks popups on rotated or scaled outputs.
2018-04-23rootston: Damage layer-shell popupsGuido Günther
2018-04-22Implement output auto-selection in rootstonDrew DeVault
2018-04-16rootston: don't crash on shutdownGuido Günther
When e.g. running rootston under X11 it would otherwise crash when closing rootston like: #0 0x00007f0197da7327 in wl_list_remove () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #1 0x000056306fcee7fb in handle_destroy (listener=0x5630723a2948, data=0x5630723a5d20) at ../rootston/layer_shell.c:273 #2 0x00007f019800a552 in wlr_signal_emit_safe (signal=0x5630723a5e30, data=0x5630723a5d20) at ../util/signal.c:29 #3 0x00007f0197fef808 in layer_surface_destroy (surface=0x5630723a5d20) at ../types/wlr_layer_shell.c:169 #4 0x00007f0197ff0001 in client_handle_destroy (resource=0x56307229c4c0) at ../types/wlr_layer_shell.c:371 #5 0x00007f0197da2f30 in () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #6 0x00007f0197da77f9 in () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #7 0x00007f0197da301d in wl_client_destroy () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #8 0x00007f0197da30d8 in () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #9 0x00007f0197da4c12 in wl_event_loop_dispatch () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #10 0x00007f0197da344a in wl_display_run () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 #11 0x000056306fcef069 in main (argc=3, argv=0x7ffd22032528) at ../rootston/main.c:83 since the output_destroy got already removed in handle_output_destroy.
2018-04-03rootston: send enter event for layer surfacesemersion
2018-04-02Address review feedbackDrew DeVault
2018-04-02Handle layer surfaces below shell surfacesDrew DeVault
2018-04-02Always give keyboard focus to the topmost layerDrew DeVault
2018-04-02Identify topmost interactive layer surfaceDrew DeVault
2018-04-02Don't reset exclusive between layer shell passesDrew DeVault
This is not the intended behavior of exclusive zones, the second pass is meant to respect the usable area.
2018-03-29Fix maximized windows interaction with layer shellDrew DeVault
If there were no layer surfaces the usable area of the output would be an empty box.
2018-03-27Address further review feedbackDrew DeVault
2018-03-27Address some more feedbackDrew DeVault
2018-03-27Address @emersion's feedbackDrew DeVault
2018-03-27Fix surface layer damage trackingDrew DeVault
2018-03-27Add margin animation to the example demoDrew DeVault
2018-03-27Fix layer rendering/layout bugsDrew DeVault
2018-03-27Handle usable area for maximized windowsDrew DeVault
Also fixes some bugs
2018-03-27Reset exclusivity after shell layerDrew DeVault
Also fixes an issue which was applying exclusivity to all edges
2018-03-27Fix rebase issues; rearrange layers on destroyDrew DeVault
2018-03-27Use 0 for default width/height (rather than -1)Drew DeVault
2018-03-27Add layer_surface.closeDrew DeVault
2018-03-27Fix exclusive zone among other layersDrew DeVault
2018-03-27Gracefully deal with outputs being removedDrew DeVault
2018-03-27Implement layer surface damageDrew DeVault
2018-03-27Arrange & render layer surfacesDrew DeVault
2018-03-27Add broken test client and rootston stubsDrew DeVault