Commit graph

1247 commits

Author SHA1 Message Date
Kovid Goyal
ca30b4196b
Prevent minimize/maximize/fullscreen for layer shell windows 2025-04-23 07:43:36 +05:30
Kovid Goyal
3c4a8a1e7e
Resize OS panels on font size change 2025-04-23 07:43:36 +05:30
Kovid Goyal
ae01cf3c1c
Refactor layer shell size callback to support multiple backends 2025-04-23 07:43:36 +05:30
Kovid Goyal
c9bf7e4236
Factor out Cocoa layer shell code into the proper function 2025-04-23 07:43:36 +05:30
Kovid Goyal
e93338a81c
Start work on macOS support for panel kitten 2025-04-23 07:43:36 +05:30
Kovid Goyal
40f18ac507
make kwin bug searchable 2025-04-22 14:57:08 +05:30
Kovid Goyal
dd5401ebed
... 2025-04-22 14:56:39 +05:30
Kovid Goyal
26affb3513
... 2025-04-22 14:54:23 +05:30
Kovid Goyal
4c0a7223c1
Fix show/hide of OS windows on wayland 2025-04-22 14:53:35 +05:30
Kovid Goyal
8b6a210ac1
Allow specifying --listen-on for panel kitten 2025-04-22 14:29:32 +05:30
Kovid Goyal
22fe41a047
Workaround KDE layer shell bug 2025-04-22 13:46:38 +05:30
Kovid Goyal
fc5fc7c9c4
Remote control: Allow modifying desktop panels and showing/hiding OS Windows using the kitten @ resize-os-window command
Also move the visibility toggle debounce into C code with a per OS
Window timer.

Fixes #8550
2025-04-22 13:34:09 +05:30
Kovid Goyal
c1a9873530
API to set layer shell config for existing window 2025-04-22 11:13:32 +05:30
Kovid Goyal
db5b691545
Show a debug message indicating we are waiting for layer shell configure event 2025-04-22 10:49:44 +05:30
Kovid Goyal
5e2d44ce15
Make passing layer shell config to glfw not use a global variable 2025-04-22 10:45:28 +05:30
Kovid Goyal
85d58de035
kitty can finally natively implement a quake like terminal dropdown
Currently Wayland (except for GNOME as usual) only.
2025-04-21 20:28:56 +05:30
Kovid Goyal
3ce734ce9c
launch: Allow creating desktop panels
Now users can use mappings or remote control to popup new desktop panels
on Wayland in addition to new desktop windows.

Fixes #8549
2025-04-21 14:59:31 +05:30
Kovid Goyal
a8693e45ef
Nicer error message when running panel kitten on a compositor that does not support layer shell 2025-04-21 13:39:16 +05:30
Kovid Goyal
64b5d2d187
More precise error on resize panel attempt 2025-04-21 12:32:20 +05:30
Kovid Goyal
e2cf1e9185
Dont crash when user attempts to resize panel via remote control
Fixes #8550
2025-04-20 15:19:35 +05:30
Kovid Goyal
5d2e258c35
Wayland: When the compositor supports the xdg-system-bell protocol use it to play the default bell sound 2025-04-16 15:48:51 +05:30
Kovid Goyal
49092f5a94
Add new wayland top level state enum values 2025-04-09 19:23:27 +05:30
Kovid Goyal
3c57cc02f7
Wayland: panel kitten: Fix incorrect initial font size on compositors such as Hyprland that set scale late in the window creation process
Fixes #8496
2025-03-30 16:19:52 +05:30
Kovid Goyal
2c0bc79be1
Typo causing crash on Waylnd compositors that dont support xdg-toplevel-icon
Fix #8471
2025-03-24 14:23:32 +05:30
Kovid Goyal
b34a88065b
Wire up clipboard lost events 2025-03-12 09:26:36 +05:30
Kovid Goyal
3b8e0e209b
Wayland: Allow overriding the kitty OS Window icon on compositors that implement the xdg-toplevel-icon protocol 2025-03-10 12:32:03 +05:30
alex-huff
9188d6a664 Wayland: added --edge=center option for panel kitten 2025-03-07 11:11:07 -06:00
alex-huff
a3a5f4fa24 Wayland: Updated anchor for edge=none to be consistent with documentation 2025-03-06 19:35:09 -06:00
Kovid Goyal
27df509206
Nicer fix for enter event mouse tracking
Send an explicit mouse event to child when pointer enters window instead
of relying on GLFW to send a cursor position update event.
2025-03-04 11:29:29 +05:30
Kovid Goyal
ac6c652a4d
Fix #8398 2025-03-04 09:49:34 +05:30
Kovid Goyal
0339d59851
Wayland: Fix mouse pointer position update not being sent when focus regained
GLFW Wayland backend was not sending a cursor position input event on
mouse entering the window surface.

Fixes #8397
2025-03-04 06:03:42 +05:30
Kovid Goyal
50f64d5981
Only use window occlusion on platforms where it is supported 2025-02-12 12:02:46 +05:30
Kovid Goyal
2cf83070a0
Report ancient xdg-shell versions 2025-02-12 11:31:28 +05:30
Kovid Goyal
0c47f81187
Remove special casing for Hyprland
Hyprland has now been fixed to send only a single fractional scale
event, so no need for special casing it.
2025-01-22 18:53:46 +05:30
Kovid Goyal
5e41de9505
... 2025-01-21 16:43:18 +05:30
Kovid Goyal
0527db876b
Wayland niri: Fix 250ms delay on startup when using scale 1
We special case Hyprland, hopefully the special casing can be removed
once https://github.com/hyprwm/Hyprland/issues/9126 is fixed.

Fixes #8236
2025-01-21 16:40:32 +05:30
Kovid Goyal
b256f56afb
... 2025-01-21 15:13:54 +05:30
Kovid Goyal
7346aca56d
Function to probe for Wayland compositor name
Maybe needed to workaround #8236
2025-01-21 15:10:07 +05:30
Kovid Goyal
055fb30bf2
macOS: Fix mouse cursor shape not always being reset to text cursor when mouse re-enters kitty
Fixes #8155
2024-12-25 08:26:56 +05:30
Kovid Goyal
af9e9fbc6f
Fix #8138 2024-12-20 08:58:35 +05:30
Robin Carlier
2005069f90 Panel: fix height, exclusive zone flag, better helptext 2024-11-24 10:48:37 +01:00
Robin Carlier
5f1c603220 Panel: add options for margin 2024-11-23 21:07:57 +01:00
Robin Carlier
ce2bcbb92d Panel: add a edge=none option 2024-11-23 21:07:57 +01:00
Robin Carlier
4eb8e6052f Panel: choose the display layer 2024-11-23 21:07:57 +01:00
Kovid Goyal
1ff74b86dc
Wayland GNOME: Workaround bug in mutter causing double tap on titlebar to not always work
Fixes #8054
2024-11-18 08:46:17 +05:30
Kovid Goyal
b0ebd340fe
Function to get the current system color theme 2024-11-07 12:47:06 +05:30
Kovid Goyal
239e08f268
When reading desktop settings from the portal provide a list of supported namespaces
The wlr portal doesnt work with an empty list. Sigh.
2024-11-07 11:10:27 +05:30
Kovid Goyal
754288557d
Track initial color scheme preference read on Linux 2024-11-07 10:38:13 +05:30
Kovid Goyal
16c82c7c16
Fix alpha conversion for wayland single pixel buffer 2024-10-20 09:35:28 +05:30
Kovid Goyal
61545a83e5
Fix #7982 2024-10-18 21:27:10 +05:30