Commit graph

918 commits

Author SHA1 Message Date
Ottatop
ff2b78f828 Get xwayland snapshots partially working 2024-05-27 15:47:56 -05:00
Ottatop
e6b18fcec2 Make layout transactions work 2024-05-27 15:47:56 -05:00
Ottatop
1a009111d7 Add layout transactions 2024-05-27 15:47:56 -05:00
Ottatop
276557b8a0 Add render utils 2024-05-27 15:47:56 -05:00
Ottatop
a251c96278 render: Use custom render element macro 2024-05-27 15:47:56 -05:00
Ottatop
4095abadf3
Merge pull request #241 from thmasq/main
Split keyboard_focus_stack test into global and visible variants
2024-05-21 11:25:03 -05:00
thmasq
a4c653f893 Split keyboard_focus_stack test into global and visible variants 2024-05-21 13:02:20 -03:00
Ottatop
c1f0aea060 Add WindowId::reset for testing 2024-05-21 10:49:55 -05:00
Ottatop
b763adcb5a render: Simplify elements
I like how I wasn't using 3 of them
2024-05-19 17:10:55 -05:00
Ottatop
cc8e5ebc8d winit: Only render new frames
Fixes #239
2024-05-19 14:55:27 -05:00
Ottatop
ab7e2051b1 Simplify layout ids 2024-05-17 15:56:50 -05:00
Ottatop
a8acb82b11 session_lock: Change clear color when locked 2024-05-17 10:44:08 -05:00
Ottatop
66e5d7097f Bump smithay
gtklock fix
2024-05-17 10:25:06 -05:00
Ottatop
cd8e15a7c3 Update deps 2024-05-16 17:35:36 -05:00
Ottatop
dbccfa9c76 Expose keyboard focus stack to API 2024-05-15 21:24:20 -05:00
Ottatop
4750d7ce26 Don't focus new outputs
Let the pointer do the focusing
2024-05-15 18:46:02 -05:00
Ottatop
17a3fc5a1a Fix pointer focus to layers on non-(0,0) outputs 2024-05-15 18:32:45 -05:00
Ottatop
6e3b1b4960
Merge pull request #238 from pinnacle-comp/session_lock
Implement session lock
2024-05-15 18:10:25 -05:00
Ottatop
8dd49c9874 Draw colored background when locking 2024-05-15 17:40:09 -05:00
Ottatop
48167a75c2 Guarantee no windows get drawn when locked 2024-05-15 17:26:36 -05:00
Ottatop
333c805bdd Prevent pointer focus to windows when locked 2024-05-15 17:13:52 -05:00
Ottatop
1faab2a68f Update Smithay 2024-05-15 13:35:03 -05:00
Ottatop
6541f9fda3 Draw cursor when locked correctly 2024-05-14 21:44:59 -05:00
Ottatop
b9c5a88f9f Force keyboard focus on lock surface, don't trigger keybinds when locked 2024-05-14 20:41:10 -05:00
Ottatop
d708fccf58 Implement session lock 2024-05-14 19:35:12 -05:00
Ottatop
42f3e65255 Filter keybind releases 2024-05-13 18:43:17 -05:00
Ottatop
3f6e32e49c Filter windows on active tags for swapping 2024-05-08 22:50:41 -05:00
Ottatop
35919ac0fa
Merge pull request #235 from pinnacle-comp/foreign_toplevel_mgmt
Implement wlr-foreign-toplevel-management
2024-05-08 22:40:56 -05:00
Ottatop
1592fe2106 Make foreign toplevel maximize actually maximize 2024-05-08 22:36:43 -05:00
Ottatop
2c209856d3 Switch to tag if activated window is not on active tag 2024-05-08 22:25:26 -05:00
Ottatop
a8aa7941d2 Don't expose override redirects 2024-05-08 22:09:57 -05:00
Ottatop
d0212126e9 Raise window on foreign toplevel activate 2024-05-08 22:03:30 -05:00
Ottatop
2c1fc29f87 Expose xwayland windows to foreign toplevel 2024-05-08 21:40:07 -05:00
Ottatop
f8fb8fddfb Add most of foreign toplevel
Xwayland windows don't show up currently
2024-05-08 02:22:24 -05:00
Ottatop
5d3f66a747 Add info subcommand 2024-05-07 22:30:48 -05:00
Ottatop
bb33602724 Use PID in socket name 2024-05-07 20:46:02 -05:00
Ottatop
37b728203c Use reexported rustix instead of nix 2024-05-07 20:28:48 -05:00
Ottatop
f7170f5bd3
Merge pull request #234 from pinnacle-comp/a_bit_of_cleanup
Uncouple stuff and do some cleanup
2024-05-07 20:18:21 -05:00
Ottatop
fd637d2256 Add some comments 2024-05-07 20:12:55 -05:00
Ottatop
6802afe04a Add socket_dir cli option 2024-05-07 19:39:27 -05:00
Ottatop
b5707daa86 Add logs in places 2024-05-07 19:39:26 -05:00
Ottatop
dc70a8a3e7 Fix builtin config and metaconfig xwayland 2024-05-07 19:39:26 -05:00
Ottatop
7b006596af Uncouple config, backends, and xwayland
wow i love the single responsibility principle
2024-05-07 19:39:26 -05:00
Ottatop
176f559360 Set keyboard focus on open only if on active tag 2024-05-07 19:39:06 -05:00
Ottatop
4291fa47ab Fix tests
Turn off xwayland in tests and if turned on, wait for it to start
2024-05-04 16:16:54 -05:00
Ottatop
9771f4c645 Remove backend/wlcs.rs
The tests don't work yay
2024-05-04 15:31:11 -05:00
Ottatop
b654de8284 Add --no-xwayland option 2024-05-04 15:24:59 -05:00
Ottatop
f18604e908 README: relax lua version 2024-05-04 13:36:04 -05:00
Ottatop
c0f8328f08 Don't send configure immediately
trust me guys i know what i'm doing haha
2024-05-04 13:25:59 -05:00
Ottatop
404377a1ed Fix out-of-bounds panic 2024-05-03 22:43:59 -05:00