summaryrefslogtreecommitdiff
path: root/client.h
AgeCommit message (Collapse)Author
2022-12-24do not try to resize if size wouldn't changeLeonardo Hernández Hernández
2022-12-24do not skip frames if a client is stopped and have a pending resizeLeonardo Hernández Hernández
2022-12-24Revert "Revert "fix flickering when resizing/spawning windows""Leonardo Hernández Hernández
This reverts commit 4a32293548667e68cd9a103e22368b8db1754deb.
2022-12-15Check width and height are not negative in client_set_bounds()Ben Jargowsky
2022-12-06Revert "fix flickering when resizing/spawning windows"Leonardo Hernández Hernández
This reverts commit 017bb7d7521f68d37bfe656c10f45edbcc92dd61. Bug: https://github.com/djpohly/dwl/issues/349
2022-12-05improve type safety of toplevel_from_wlr_surface()Leonardo Hernández Hernández
2022-12-05merge toplevel_from_{wlr_layer_surface,popup} into client_from_wlr_surfaceLeonardo Hernández Hernández
now it is a big function called toplevel_from_wlr_surface
2022-12-05sort client_get_parent()Leonardo Hernández Hernández
2022-12-03fix flickering when resizing/spawning windowsPalanix
Fixes: https://github.com/djpohly/dwl/issues/306
2022-12-01fix xwayland clients being floating by defaultLeonardo Hernández Hernández
Fix 3213088aa23e1f6cad1a5ba506dfb7318e1011c9 References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730
2022-11-10Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2022-11-09check null in toplevel_from_popupshua
managed to SEGFAULT the server by trying to create a popup without setting a parent first. Not sure if this is dwl or wlroots issue, so also opened a ticket upstream: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3811
2022-10-29Merge remote-tracking branch 'upstream/main' into wlroots-nextLeonardo Hernández Hernández
2022-10-15allow unmanaged clients (like dzen or dmenu) to have keyboard focusLeonardo Hernández Hernández
2022-10-08correctly handle cursor motion when button is held (for layer surfaces)Leonardo Hernández Hernández
2022-10-01Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
2022-09-20remove unused variablesLeonardo Hernández Hernández
2022-08-27new function to notify keyboard enterLeonardo Hernández Hernández
2022-08-27sort client.h functionsLeonardo Hernández Hernández
2022-08-26Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
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-12handle client_from_wlr_surface() receiving a subsurfaceLeonardo Hernández Hernández
2022-07-19always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández
fixes #272
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-15only set bounds for clients that support itLeonardo Hernández Hernández
2022-06-24respect size hintsLeonardo Hernández Hernández
2022-06-21unconstrain layer shell popupsLeonardo Hernández Hernández
also unconstrain popups from monitor's usable area
2022-06-16move ugglyness to client.hLeonardo Hernández Hernández
2022-06-09set client bounds at resizeLeonardo Hernández Hernández
2022-06-06improve client_from_wlr_surface()Leonardo Hernández Hernández
2022-05-23add a new function to get a client from a wlr_surfaceLeonardo Hernández Hernández
2022-05-17Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
chase wlroots X11 hints update
2022-05-15Check if XWayland client size_hints are NULLBen Jargowsky
2022-05-14fix segfault when dragging chromium tabsLeonardo Hernández Hernández
2022-05-10Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández
2022-05-08replace wlr_xwayland_surface_size_hints with xcb_size_hints_tLeonardo Hernández Hernández
2022-04-10add missing return in client_is_floating_type()Leonardo Hernández Hernández
This causes all Xwayland clients to be treated as floating
2022-03-23improve floating detectionLeonardo Hernández Hernández
mostly copied from sway
2022-03-21improve floating detectionLeonardo Hernández Hernández
mostly copied from sway
2022-03-20Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández
2022-03-18Merge branch 'main' into scenegraphLeonardo Hernández Hernández
2022-03-18do not allow set client size less than its min sizeLeonardo Hernández Hernández
2022-03-16constraint popups to its parent clientLeonardo Hernández Hernández
Closes: #146 Closes: #155
2022-03-13Merge branch 'fix-segfault-in-fullscreennotify'Leonardo Hernández Hernández
2022-03-13don't use fullscreen event in fullscreennotify()Leonardo Hernández Hernández
2022-03-10Merge branch 'main' into wlroots-nextLeonardo Hernández Hernández
2022-02-03Account for changes expecting wlr_xdg_toplevel rather than wlr_xdg_surfaceA Frederick Christensen
2022-01-08fix client_set_tiled, which was ignoring its "edges" argumentArmaël Guéneau
2021-09-05simplify client_for_each_surfaceDevin J. Pohly
All the XDG surface iterator does is iterate the main wlr_surface, then iterate the popups. If we inline that function, we can merge part of it with the X11 case.
2021-05-23factor xwayland hackiness out into client.hDevin J. Pohly