copilot-swe-agent[bot]
66ffb6895c
Fix macOS keyboard focus not restored when switching back from another space
...
Fixes #9665
Fixes #9666
2026-03-15 14:57:46 +05:30
Alexey Shurygin
827c8dd614
Address PR review feedback
2026-03-15 01:33:38 +03:00
Alexey Shurygin
b66c6c4932
Fix: Dictation does not start on double Fn key press on Mac OS
2026-03-15 01:15:05 +03:00
Kovid Goyal
4f73374a12
YATB: Yet Another Tahoe Bug from the company that should stick to selling fruit
...
Fixes #9299
2025-12-18 11:13:38 +05:30
Kovid Goyal
99b1eca3c8
Disable NSAutoFillHeuristicController on spec
2025-12-18 10:16:59 +05:30
Kovid Goyal
a4a7f77ef1
Use __block rather than __weak since we are in manual ref counting regime
2025-11-12 09:31:31 +05:30
Kovid Goyal
6a6b0b47a3
Micro-optimize display link callback
...
Use a GCD block rather than a runtime selector with a boxed number
2025-10-22 13:35:02 +05:30
Kovid Goyal
d2cc22e7c6
macOS: React to changes in effective appearance of the NSApplication not the content view for each window
...
This is nicer now every OS Windows doesnt cause a notification. Also
fixes #9034 which was caused by us setting an explicit appearance on the
window when the titlebar is set to a specific color thereby preventing
the views in the window from getting appearance change notifications.
2025-09-29 17:17:46 +05:30
Kovid Goyal
55a2f2c55c
Cocoa: fix quick access terminal hide focus restore
...
Apple now makes kitty the front most application before sending the
service notification. So instead watch for front most application change
events from the shared workspace and restore focus to the last non-self
application.
2025-07-21 14:55:12 +05:30
Kovid Goyal
6f689f3221
Work on keyboard grabbing functionality
2025-05-18 11:37:11 +05:30
Kovid Goyal
189d78283c
Get the quake terminal working on macOS
2025-04-25 20:27:26 +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
314da124f3
macOS 15: Handle Fn modifier when detecting global shortcuts
...
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
1bffe89b5d
Wayland GNOME: titlebar color now follows system theme
...
When GNOME system theme is default, the color matches the background
color. When it is dark it is dark.
2024-04-04 21:52:56 +05:30
Kovid Goyal
1c1519c6e4
micro optimization
2023-10-25 18:41:27 +05:30
Kovid Goyal
ae4a13b249
Better fix for macOS deadlock
...
Fix it in glfw. Dont hold the tick lock when calling the tick callback
as the tick callback might be waiting on a lock.
2023-10-25 18:32:07 +05:30
Kovid Goyal
4c37fff496
Fix secure restore state runtime warning from cocoa being printed to stderr
2023-10-03 11:23:56 +05:30
olzhasar
d0a5d1b3a4
Fix misspellings
2023-06-14 03:39:53 +06:00
Derek Schrock
3b57acf03c
More cases of #5477 functions with empty argument lists
...
Building on macOS 13.3.1 (22E261) clang 14.0.3 (clang-1403.0.22.14.1)
running to errors like #5477 where functions without argument lists at
least need void.
Looking for possible suspect functions via:
git grep -E "^([A-Za-z_]+ )?[A-Za-z_]+\()" \*.c \*.m
2023-04-16 01:09:36 -04:00
Kovid Goyal
bcfa2a64e4
Start work on new clipboard api support for macos
2022-09-08 21:45:13 +05:30
pagedown
2cc506476b
macOS: Fix JIS Eisu and Kana keys not working
2022-06-25 19:01:02 +08:00
pagedown
444d9bd341
macOS: Ignore when the global shortcut is disabled
2022-02-11 14:23:57 +08:00
pagedown
358f30ca7a
No longer need to fall back and check the default shortcuts
2022-02-11 02:39:50 +08:00
pagedown
e32785831b
macOS: Add missing global shortcuts that will be enabled by default
2022-02-11 02:19:27 +08:00
Kovid Goyal
728eceb620
Add implementation for focus moving hardcoded shortcuts
2022-02-10 18:56:47 +05:30
Kovid Goyal
57f591d1ce
Simplify default global shortcut lookup
...
Now if a shortcut is present in the plist, it will not be considered for
default matching
2022-02-10 17:47:11 +05:30
Kovid Goyal
e4397a1c73
Framework for Apple's default global shortcuts
2022-02-10 14:15:21 +05:30
Kovid Goyal
f047678711
More robust initial window replacement when launching URLs
2022-02-06 07:11:57 +05:30
pagedown
51d591e177
macOS: Allow opening URLs with kitty
2022-02-05 13:05:41 +08:00
pagedown
ce57c747cc
macOS: Fix select next input source not working
...
For global shortcut to switch the next input source in the macOS system
preferences, final confirmation is only given when all modifier keys are
released.
2022-02-04 12:51:01 +08:00
Kovid Goyal
3e9129655a
...
2022-02-03 21:00:23 +05:30
Kovid Goyal
e8c683db8b
A new approach to handling flagsChanged with IME
...
Bypass cocoa's flagsChanged handling and call handleevent ourselves,
this allows us to know exactly what the IME is doing. Hopefully fixes
issues with IMEs that change state on modifier key presses.
Fixes #4541
2022-01-22 14:47:57 +05:30
pagedown
5182f79152
macOS: Fix global shortcuts with shift modifier key not working
2022-01-17 02:23:00 +08:00
Kovid Goyal
06ff685f8e
oops
2022-01-15 14:54:30 +05:30
Kovid Goyal
ca4840717b
macOS: Fix using shortcuts from the global menu bar as subsequent key presses in a multi key mapping not working
...
Fixes #4519
2022-01-15 13:56:18 +05:30
Kovid Goyal
c473df4393
Ignore NSEventModifierFlagFunction when parsing global shortcuts
2022-01-15 12:16:18 +05:30
Kovid Goyal
aab121b35d
Also check for shiftable shortcuts in the virtual key code case
2022-01-15 10:23:18 +05:30
Kovid Goyal
396906860d
macOS: When checking for global shortcuts handle shifted form of cmd+`
2022-01-15 10:14:06 +05:30
pagedown
a9bdf70275
macOS: Watch for system preferences changes and update global_shortcuts
2022-01-14 13:51:46 +08:00
pagedown
ab5b9fb329
macOS: Only check the "standard" type of the system shortcuts
2022-01-14 10:07:38 +08:00
pagedown
e0700d45de
macOS: Update to the latest and categorize the system shortcut names
2022-01-14 10:05:49 +08:00
Kovid Goyal
79fd01093a
fix typo in generating lookup keys for vk code based shortcuts
2022-01-13 19:21:49 +05:30
Kovid Goyal
a56471f7ed
Validate the parameters array
2022-01-13 16:44:43 +05:30
Kovid Goyal
96b46c554e
Add type annotations to dictionaries
2022-01-13 16:29:13 +05:30
Kovid Goyal
a819023ab7
remove redundant cast
2022-01-13 16:05:48 +05:30
Kovid Goyal
9504f50bd4
...
2022-01-13 16:04:50 +05:30
Kovid Goyal
8fe71e3dc8
Dont use a block for dictionary enumeration
...
Maybe that will fix the mysterious issue @page-down is having
2022-01-13 16:02:29 +05:30
Kovid Goyal
34d7643bed
Ensure global_shosrtcuts is initialized
2022-01-13 15:10:19 +05:30
Kovid Goyal
682eb7d802
Log when events are ignored because no keyWindow is present
2022-01-13 14:22:52 +05:30
Kovid Goyal
f86a954131
ooops
2022-01-13 14:21:58 +05:30