summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-10add some commentsLeonardo Hernández Hernández
2022-09-10inline input_device in virtualkeyboard()Leonardo Hernández Hernández
2022-09-10fix idle inhibitor checkLeonardo 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-10fix exclusive zone of unmapped layer surfacesLeonardo Hernández Hernández
Fixes: https://github.com/djpohly/dwl/issues/302
2022-09-08resize the fullscreen background when resize the clientLeonardo Hernández Hernández
2022-09-08update link to input-protocolsLeonardo Hernández Hernández
2022-09-08append `-dev` to $(_VERSION) (should have added it a long time ago)Leonardo Hernández Hernández
2022-09-08define _POSIX_C_SOURCE through CPPFLAGSLeonardo Hernández Hernández
like dwm
2022-09-07fix condition that always evaluate to false in commitlayersurfacenotify()Leonardo Hernández Hernández
2022-09-07remove obsolete check of c->mon in fullscreennotify()Leonardo Hernández Hernández
since 19a8a095ebe782065903b9a03670560371302206 it's checked in setfullscreen()
2022-09-06set `c->prev` in setmon() and not in mapnotify()Leonardo Hernández Hernández
2022-09-06only 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-05set c->prev in mapnotify()Leonardo Hernández Hernández
Closes: #300
2022-09-05Minor changes to READMEDmitry Zakharchenko
2022-09-02Add direct irc linkDmitry Zakharchenko
Also, move IRC section to the top so that it's more accessible.
2022-09-02don't arrange layers on disabled monitorsLeonardo Hernández Hernández
2022-09-02call 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-02prevent segfault when destroying monitorsLeonardo Hernández Hernández
also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *`
2022-09-02Revert "Revert "various improvements to layer surface""Leonardo Hernández Hernández
This reverts commit c017916d35795cf85e5181907f5e97a1d702612a.
2022-08-31Revert "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-29various improvements to layer surfaceLeonardo 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-28conform the idle inhibitor protocolLeonardo Hernández Hernández
previously we disable idle tracking simply due to the fact that it exist
2022-08-27new function to notify keyboard enterLeonardo Hernández Hernández
2022-08-27sort client.h functionsLeonardo Hernández Hernández
2022-08-25prevent an infinite loop if try to use focusmon() with all monitors disabledLeonardo Hernández Hernández
2022-08-23don't try to set monitor for clients in createmon()Leonardo Hernández Hernández
this is done in updatemons()
2022-08-23set 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-18set monitor for clients that don't have one on monitor creationLeonardo Hernández Hernández
2022-08-16don't respect size hints for fullscreen clientsLeonardo Hernández Hernández
Fixes: #292
2022-08-13change type of c->bw: int -> unsigned intLeonardo Hernández Hernández
2022-08-13reorder isfullscreen in Client definitionLeonardo Hernández Hernández
2022-08-13initialize to zero the box used in commitnotify()Leonardo Hernández Hernández
2022-08-12handle client_from_wlr_surface() receiving a subsurfaceLeonardo Hernández Hernández
2022-08-12fix crash when setting a custom modeLeonardo Hernández Hernández
2022-08-12rework 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-08-122200: let's use this wiselyDevin J. Pohly
Looks like [suckless-dev] was right about one thing.
2022-08-08fix dist targetLeonardo Hernández Hernández
2022-08-08use `git describe` to generate versionLeonardo Hernández Hernández
2022-07-30check client_from_wlr_surface() returning NULL in urgent()Leonardo Hernández Hernández
fix #281
2022-07-25fix segfault if parent->mon is unsetDima Krasner
2022-07-24use the layer surface to create popupsLeonardo Hernández Hernández
2022-07-23make sure we do not create a double fullscreen_bgLeonardo Hernández Hernández
and also make sure we do not destroy it if it does not exist Fixes: #274
2022-07-23conform the xdg-protocol with fullscreen translucent clientsLeonardo Hernández Hernández
see `setfullscreen()` for more info
2022-07-19always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández
fixes #272
2022-07-19do not focus clients if a layer surface is focusedLeonardo Hernández Hernández
2022-07-19force line-buffered stdout if stdout is not a ttyDima Krasner
2022-07-19Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found"Leonardo Hernández Hernández
This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270
2022-07-15remove a useless checkLeonardo Hernández Hernández
if `s->role_data == NULL`, wlr_*_surface_from_wlr_surface() will return NULL and we are checking it
2022-07-13Update README.mdDavid-Valters
2022-07-07only call wlr_seat_keyboard_notify_enter() if a keyboard is foundLeonardo Hernández Hernández