Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-03 | avoid usage of goto | Leonardo Hernández Hernández | |
Based on this suggestion: https://github.com/guyuming76/dwl/commit/bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6#commitcomment-85592855 | |||
2022-10-01 | properly handle cursor motion when button is held | Leonardo Hernández Hernández | |
Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3653 | |||
2022-09-28 | avoid setting duplicate cursor image | Leonardo Hernández Hernández | |
Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3436 Based on: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3595 | |||
2022-09-28 | destroy renderer and allocator in cleanup() | Leonardo Hernández Hernández | |
2022-09-26 | fix bad condition | Leonardo Hernández Hernández | |
2022-09-26 | fix various segfaults when selmon is NULL | Leonardo Hernández Hernández | |
2022-09-26 | change cursor surface in internal calls of motionnotify() | Leonardo Hernández Hernández | |
and call motionnotify() after unmapping a client and when focusing a client Fixes: https://github.com/djpohly/dwl/issues/308 | |||
2022-09-20 | remove unused variables | Leonardo Hernández Hernández | |
2022-09-18 | make more permissive exclusive focus | Leonardo Hernández Hernández | |
now you can call focusstack() while a layer surface is focused and when it gets unmapped the newly focused clients will be actually focused | |||
2022-09-18 | now really fix clients not being focused after unmapping a layer surface | Leonardo Hernández Hernández | |
2022-09-18 | fix clients not being focused after destroy a layer surface | Leonardo Hernández Hernández | |
2022-09-18 | Revert "remove useless check of `m` in arrangelayers()" | Leonardo Hernández Hernández | |
This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915. Checking if the output is enabled is necessary to avoid a segfault later | |||
2022-09-18 | remove useless check of `m` in arrangelayers() | Leonardo Hernández Hernández | |
it is supossed to avoid a crash when we pass m=NULL as argument however it would crash anyway and also because we should not pass m=NULL | |||
2022-09-18 | fix use of loop initial declaration | Leonardo Hernández Hernández | |
forbidden by the suckless style | |||
2022-09-18 | fix unmanaged clients not being unlinked from the commit listener | Leonardo Hernández Hernández | |
2022-09-18 | fix segfault when unlocking swaylock on two monitor setup | Leonardo Hernández Hernández | |
wlr_*_surface_from_wlr_surface() can return NULL if the surface is being destroyed Fixes: https://github.com/djpohly/dwl/issues/305 | |||
2022-09-10 | don't try to move outputs when its x,y hasn't change | Leonardo Hernández Hernández | |
when using wlr_output_layout_move() wlroots internally change the state of the output to manually configured and when updating the layout these outputs aren't ignored by wlroots, leaving us at our own | |||
2022-09-10 | prior run the startup command start the backend | Leonardo Hernández Hernández | |
this allow use clients like wlr-randr in the startup command | |||
2022-09-10 | make sure the parent is mapped prior set monitor and tags | Leonardo Hernández Hernández | |
2022-09-10 | use wl_container_of() instead of data in some functions | Leonardo Hernández Hernández | |
2022-09-10 | add some comments | Leonardo Hernández Hernández | |
2022-09-10 | inline input_device in virtualkeyboard() | Leonardo Hernández Hernández | |
2022-09-10 | fix idle inhibitor check | Leonardo Hernández Hernández | |
previously we tried to get a client from the surface and then compare it with the excluded surface, if we cannot get a client from the surface (e.g: a layer surface) it just ignored all the next idle inhibitors no matter what What I have should done is just checking if the excluded surface is equal to the current idle inhibitor's surface and continue in case it is. | |||
2022-09-10 | fix exclusive zone of unmapped layer surfaces | Leonardo Hernández Hernández | |
Fixes: https://github.com/djpohly/dwl/issues/302 | |||
2022-09-08 | resize the fullscreen background when resize the client | Leonardo Hernández Hernández | |
2022-09-08 | define _POSIX_C_SOURCE through CPPFLAGS | Leonardo Hernández Hernández | |
like dwm | |||
2022-09-07 | fix condition that always evaluate to false in commitlayersurfacenotify() | Leonardo Hernández Hernández | |
2022-09-07 | remove obsolete check of c->mon in fullscreennotify() | Leonardo Hernández Hernández | |
since 19a8a095ebe782065903b9a03670560371302206 it's checked in setfullscreen() | |||
2022-09-06 | set `c->prev` in setmon() and not in mapnotify() | Leonardo Hernández Hernández | |
2022-09-06 | only enable/disable clients from the specified monitor in arrange() | Leonardo Hernández Hernández | |
also fix a crash when m is null, this can only happen when selmon is NULL | |||
2022-09-05 | set c->prev in mapnotify() | Leonardo Hernández Hernández | |
Closes: #300 | |||
2022-09-02 | don't arrange layers on disabled monitors | Leonardo Hernández Hernández | |
2022-09-02 | call setfullscreen() in setmon() | Leonardo Hernández Hernández | |
this will help when sending to another monitor a fullscreen client and also will prevent a crash when a client request fullscreen when it has no monitor | |||
2022-09-02 | prevent segfault when destroying monitors | Leonardo Hernández Hernández | |
also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *` | |||
2022-09-02 | Revert "Revert "various improvements to layer surface"" | Leonardo Hernández Hernández | |
This reverts commit c017916d35795cf85e5181907f5e97a1d702612a. | |||
2022-08-31 | Revert "various improvements to layer surface" | Leonardo Hernández Hernández | |
see https://github.com/djpohly/dwl/issues/289#issuecomment-1231287114 This reverts commit 226051974060746d02d787ac1ef70b6267ee51b4. | |||
2022-08-29 | various improvements to layer surface | Leonardo Hernández Hernández | |
- remove various useless assignments of layersurface->mon - styles changes - do not set wlr_layer_surface->output to NULL at destroy | |||
2022-08-28 | conform the idle inhibitor protocol | Leonardo Hernández Hernández | |
previously we disable idle tracking simply due to the fact that it exist | |||
2022-08-27 | new function to notify keyboard enter | Leonardo Hernández Hernández | |
2022-08-25 | prevent an infinite loop if try to use focusmon() with all monitors disabled | Leonardo Hernández Hernández | |
2022-08-23 | don't try to set monitor for clients in createmon() | Leonardo Hernández Hernández | |
this is done in updatemons() | |||
2022-08-23 | set monitor for clients that don't have one in updatemons() | Leonardo Hernández Hernández | |
only if selmon is enabled and the clients are mapped | |||
2022-08-18 | set monitor for clients that don't have one on monitor creation | Leonardo Hernández Hernández | |
2022-08-16 | don't respect size hints for fullscreen clients | Leonardo Hernández Hernández | |
Fixes: #292 | |||
2022-08-13 | change type of c->bw: int -> unsigned int | Leonardo Hernández Hernández | |
2022-08-13 | reorder isfullscreen in Client definition | Leonardo Hernández Hernández | |
2022-08-13 | initialize to zero the box used in commitnotify() | Leonardo Hernández Hernández | |
2022-08-12 | fix crash when setting a custom mode | Leonardo Hernández Hernández | |
2022-08-12 | rework outputmgrapplyortest() | Leonardo Hernández Hernández | |
first disable requested monitors, then enable and/or change mode, x and y, etc. This is mostly what sway does | |||
2022-07-30 | check client_from_wlr_surface() returning NULL in urgent() | Leonardo Hernández Hernández | |
fix #281 |