Mitchell Hashimoto
36c3b1b3d1
apprt/gtk: gtk-adwaita runtime config to configure libadwaita
...
Fixes #874
2023-11-14 08:33:55 -08:00
Gregory Anders
960a1bb091
gtk: implement OSC 52 prompts
2023-11-10 23:12:39 -05:00
Mitchell Hashimoto
f338c09506
apprt/gtk: move default id into scope
2023-11-06 08:55:13 -08:00
Mitchell Hashimoto
364a14d7a2
apprt/gtk: fix valid id check
2023-11-06 08:54:23 -08:00
Mitchell Hashimoto
3564dd5e7e
stylistic changes
2023-11-06 08:47:09 -08:00
Raiden1411
60717cde14
chore: update fullscreen implementation
2023-11-06 14:03:44 +00:00
Raiden1411
232527c9dc
fix: fullscreen on new windows
2023-11-06 11:59:16 +00:00
Raiden1411
094f8effa3
fix: begin implementation of suggested changes
2023-11-06 10:19:09 +00:00
Raiden1411
9e9ad67d3c
feat: add support for fullscreen, title and class values
2023-11-05 11:49:25 +00:00
David Rubin
44073e4c98
add basic functionality
2023-11-03 10:58:56 -07:00
hanna
63fe99809f
remove hard dependency on libadwaita
2023-11-02 21:54:05 -07:00
Hanna
2d7e2c8345
Integrate libadwaita for the gtk backend ( #792 )
...
* When using gtk as the backend, link libadwaita
* Update c.zig
* Use libadwaita's theme manager for gtk
* update the documentation for window-theme
* build: add libadwaita to the nix devshell
* forgot to properly import libadwaita
* apprt/gtk: adwaita style change
---------
Co-authored-by: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
2023-11-02 21:29:29 -07:00
Mitchell Hashimoto
b985b28918
apprt/gtk: use gtk widget scale to get content scale
2023-10-27 15:03:41 -07:00
Mitchell Hashimoto
5a299e14e4
all threads are notified of inspector state, trigger render
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
6a50a938d6
apprt/gtk: button to toggle inspector
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
199e1cae29
apprt/gtk: surface has inspector state
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a60f9eb9e6
apprt/gtk: empty inspector window
2023-10-24 15:27:13 -07:00
Mitchell Hashimoto
6c69f0ef63
apprt/gtk: gtk-single-instance defaults to true only if desktop env
...
Fixes #473
A new config value for `gtk-single-instance = desktop` is now valid.
This value uses GTK single instance mode only if it detects Ghostty was
launched from a desktop environment (i.e. clicking on the icon) through
the `.desktop` Freedesktop file. Otherwise, it disables single instance.
This enables Ghostty to work well with the CLI and accept all the
typical CLI flags. It will make Ghostty launch slower from the CLI but I
think this is an acceptable tradeoff.
2023-09-30 08:46:39 -07:00
Mitchell Hashimoto
ec7ab5b6a4
apprt/gtk: always set app ID, use G_APPLICATION_NON_UNIQUE instead
...
This makes the icon and title work on Wayland while retaining the
gtk-single-instance functionality.
2023-09-21 10:57:10 -07:00
Mitchell Hashimoto
ed0a2ecfc4
apprt/gtk: window actions should use currently active surface
2023-09-18 15:33:11 -07:00
Mitchell Hashimoto
f3662354e5
apprt/gtk: about window
2023-09-18 15:16:35 -07:00
Mitchell Hashimoto
bf665b7c63
apprt/gtk: reset accelerators initially
2023-09-18 15:03:36 -07:00
Mitchell Hashimoto
844945e7f9
apprt/gtk: add reload config
2023-09-18 15:00:54 -07:00
Mitchell Hashimoto
7996be25a8
apprt/gtk: new window, tab
2023-09-18 14:51:19 -07:00
Mitchell Hashimoto
71ca254be8
apprt/gtk: window actions
2023-09-18 14:41:52 -07:00
Mitchell Hashimoto
dcf615022e
apprt/gtk: key file for logic related to keys
2023-09-18 14:27:05 -07:00
Mitchell Hashimoto
394ab3017f
apprt/gtk: initial app menu
2023-09-18 12:54:19 -07:00
Mitchell Hashimoto
6df01b87c1
apprt/gtk: if errors fixed, hide window
2023-09-17 22:34:34 -07:00
Mitchell Hashimoto
92465f57ea
apprt/gtk: grab focus of config window when reloading
2023-09-17 22:28:58 -07:00
Mitchell Hashimoto
bd3b5d5332
apprt/gtk: working on config errors window
2023-09-17 21:37:57 -07:00
Mitchell Hashimoto
f7272d506e
apprt/gtk: handle scenario where OpenGL area becomes unrealized
2023-09-16 09:38:28 -07:00
Mitchell Hashimoto
d5036e78f4
apprt/gtk: refactor into separate files
2023-09-16 08:28:49 -07:00