Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | define _POSIX_C_SOURCE through CPPFLAGS | Leonardo Hernández Hernández | 2022-09-08 | 2 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like dwm | |||||
* | | | | | | | | | fix condition that always evaluate to false in commitlayersurfacenotify() | Leonardo Hernández Hernández | 2022-09-07 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | remove obsolete check of c->mon in fullscreennotify() | Leonardo Hernández Hernández | 2022-09-07 | 1 | -8/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since 19a8a095ebe782065903b9a03670560371302206 it's checked in setfullscreen() | |||||
* | | | | | | | | | set `c->prev` in setmon() and not in mapnotify() | Leonardo Hernández Hernández | 2022-09-06 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | only enable/disable clients from the specified monitor in arrange() | Leonardo Hernández Hernández | 2022-09-06 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also fix a crash when m is null, this can only happen when selmon is NULL | |||||
* | | | | | | | | | set c->prev in mapnotify() | Leonardo Hernández Hernández | 2022-09-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #300 | |||||
* | | | | | | | | | Minor changes to README | Dmitry Zakharchenko | 2022-09-05 | 1 | -9/+3 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Add direct irc link | Dmitry Zakharchenko | 2022-09-02 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, move IRC section to the top so that it's more accessible. | |||||
* | | | | | | | | | don't arrange layers on disabled monitors | Leonardo Hernández Hernández | 2022-09-02 | 1 | -0/+2 | |
| | | | | | | | | | ||||||
* | | | | | | | | | call setfullscreen() in setmon() | Leonardo Hernández Hernández | 2022-09-02 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | | | | | | | prevent segfault when destroying monitors | Leonardo Hernández Hernández | 2022-09-02 | 1 | -8/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *` | |||||
* | | | | | | | | | Revert "Revert "various improvements to layer surface"" | Leonardo Hernández Hernández | 2022-09-02 | 1 | -23/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c017916d35795cf85e5181907f5e97a1d702612a. | |||||
* | | | | | | | | | Revert "various improvements to layer surface" | Leonardo Hernández Hernández | 2022-08-31 | 1 | -15/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see https://github.com/djpohly/dwl/issues/289#issuecomment-1231287114 This reverts commit 226051974060746d02d787ac1ef70b6267ee51b4. | |||||
* | | | | | | | | | various improvements to layer surface | Leonardo Hernández Hernández | 2022-08-29 | 1 | -23/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove various useless assignments of layersurface->mon - styles changes - do not set wlr_layer_surface->output to NULL at destroy | |||||
* | | | | | | | | | conform the idle inhibitor protocol | Leonardo Hernández Hernández | 2022-08-28 | 1 | -5/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously we disable idle tracking simply due to the fact that it exist | |||||
* | | | | | | | | | new function to notify keyboard enter | Leonardo Hernández Hernández | 2022-08-27 | 2 | -13/+12 | |
| | | | | | | | | | ||||||
* | | | | | | | | | sort client.h functions | Leonardo Hernández Hernández | 2022-08-27 | 1 | -68/+64 | |
| |_|_|_|_|_|_|/ |/| | | | | | | | ||||||
* | | | | | | | | prevent an infinite loop if try to use focusmon() with all monitors disabled | Leonardo Hernández Hernández | 2022-08-25 | 1 | -3/+5 | |
| | | | | | | | | ||||||
* | | | | | | | | don't try to set monitor for clients in createmon() | Leonardo Hernández Hernández | 2022-08-23 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is done in updatemons() | |||||
* | | | | | | | | set monitor for clients that don't have one in updatemons() | Leonardo Hernández Hernández | 2022-08-23 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only if selmon is enabled and the clients are mapped | |||||
* | | | | | | | | set monitor for clients that don't have one on monitor creation | Leonardo Hernández Hernández | 2022-08-18 | 1 | -8/+4 | |
| | | | | | | | | ||||||
* | | | | | | | | don't respect size hints for fullscreen clients | Leonardo Hernández Hernández | 2022-08-16 | 1 | -9/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #292 | |||||
* | | | | | | | | change type of c->bw: int -> unsigned int | Leonardo Hernández Hernández | 2022-08-13 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | reorder isfullscreen in Client definition | Leonardo Hernández Hernández | 2022-08-13 | 1 | -2/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | initialize to zero the box used in commitnotify() | Leonardo Hernández Hernández | 2022-08-13 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | handle client_from_wlr_surface() receiving a subsurface | Leonardo Hernández Hernández | 2022-08-12 | 1 | -0/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | fix crash when setting a custom mode | Leonardo Hernández Hernández | 2022-08-12 | 1 | -1/+17 | |
| | | | | | | | | ||||||
* | | | | | | | | rework outputmgrapplyortest() | Leonardo Hernández Hernández | 2022-08-12 | 1 | -21/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first disable requested monitors, then enable and/or change mode, x and y, etc. This is mostly what sway does | |||||
* | | | | | | | | 2200: let's use this wisely | Devin J. Pohly | 2022-08-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like [suckless-dev] was right about one thing. | |||||
* | | | | | | | | fix dist target | Leonardo Hernández Hernández | 2022-08-08 | 1 | -3/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | use `git describe` to generate version | Leonardo Hernández Hernández | 2022-08-08 | 2 | -14/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | check client_from_wlr_surface() returning NULL in urgent() | Leonardo Hernández Hernández | 2022-07-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #281 | |||||
* | | | | | | | | fix segfault if parent->mon is unset | Dima Krasner | 2022-07-25 | 1 | -1/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | use the layer surface to create popups | Leonardo Hernández Hernández | 2022-07-24 | 1 | -7/+6 | |
| | | | | | | | | ||||||
* | | | | | | | | make sure we do not create a double fullscreen_bg | Leonardo Hernández Hernández | 2022-07-23 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and also make sure we do not destroy it if it does not exist Fixes: #274 | |||||
* | | | | | | | | conform the xdg-protocol with fullscreen translucent clients | Leonardo Hernández Hernández | 2022-07-23 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see `setfullscreen()` for more info | |||||
* | | | | | | | | always set the same monitor and tags for child clients of a client | Leonardo Hernández Hernández | 2022-07-19 | 2 | -21/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #272 | |||||
* | | | | | | | | do not focus clients if a layer surface is focused | Leonardo Hernández Hernández | 2022-07-19 | 1 | -2/+9 | |
| | | | | | | | | ||||||
* | | | | | | | | force line-buffered stdout if stdout is not a tty | Dima Krasner | 2022-07-19 | 1 | -1/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found" | Leonardo Hernández Hernández | 2022-07-19 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270 | |||||
* | | | | | | | | remove a useless check | Leonardo Hernández Hernández | 2022-07-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if `s->role_data == NULL`, wlr_*_surface_from_wlr_surface() will return NULL and we are checking it | |||||
* | | | | | | | | Update README.md | David-Valters | 2022-07-13 | 1 | -1/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | only call wlr_seat_keyboard_notify_enter() if a keyboard is found | Leonardo Hernández Hernández | 2022-07-07 | 1 | -4/+0 | |
| | | | | | | | | ||||||
* | | | | | | | | check pointer focus in arrange() | Leonardo Hernández Hernández | 2022-07-06 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | include DWLCFLAGS into linking step | Leonardo Hernández Hernández | 2022-07-06 | 1 | -1/+1 | |
| | | | | | | | | ||||||
* | | | | | | | | arrange client's monitor if size has change since last commit | Leonardo Hernández Hernández | 2022-07-06 | 1 | -4/+15 | |
| | | | | | | | | ||||||
* | | | | | | | | resize now takes `struct wlr_box` as parameter | Leonardo Hernández Hernández | 2022-07-06 | 1 | -22/+18 | |
| | | | | | | | | ||||||
* | | | | | | | | check current and pending geometry to set c->resize to zero | Leonardo Hernández Hernández | 2022-07-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #260 | |||||
* | | | | | | | | Checks for overflows for client max width and height | Ben Jargowsky | 2022-06-29 | 1 | -2/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | respect size hints | Leonardo Hernández Hernández | 2022-06-24 | 2 | -52/+49 | |
| | | | | | | | |