1cc4f52a77
Add request_active_output event
2021-08-01 21:58:07 +00:00
tiosgz
a1281cecd4
Add gamma control support
2021-08-01 16:41:03 +00:00
tiosgz
448f78c970
Add clipboard and clipboard management support
2021-08-01 16:01:57 +00:00
4bc201754a
Fix bad self on cursor:output_at_pos
2021-07-30 20:49:39 +00:00
540f931d2d
Add kiwmi:output_at, cursor:output_at_pos, use lx, ly more consistenty
2021-07-30 20:36:26 +00:00
ea920e8044
Merge pull request #30 from tiosgz/render-fix
...
[output render] Assign to variables before they are used by wlroots
2021-07-30 17:51:51 +00:00
tiosgz
67900b3e9f
Avoid unnecessary layer arrangement
...
Plus restore alphabetical order
2021-06-19 10:20:35 +00:00
tiosgz
9b99677562
Assign to variables before they are used by wlroots
2021-05-14 15:43:56 +00:00
tiosgz
8df79486ef
Fix incompatibilities with wlroots 0.13
2021-04-24 11:53:05 +00:00
Bohdan Potměkleč
6369823551
Fix: Return view's app_id instead of title when asked
2020-10-11 16:15:49 +00:00
34f5f1fc37
Differentiate between raw and translated keysyms
2020-08-27 20:48:15 +00:00
a736f0281b
Add tostring to IPC results
2020-08-27 14:26:58 +00:00
Hardy7cc
9fe0f03a44
Add keyboard:configure ( #18 )
...
* Add keyboard:configure
This enables the user to set the keyboard with libxkbcommon.
* changed keyboard:configure to keyboard:set_keymap
this now take a table as parameter
* Rename set_keymap to keymap, fix style issues
Co-authored-by: buffet <dev@buffet.sh>
2020-07-31 18:35:15 +00:00
28490350d5
Change default background
2020-07-30 21:38:47 +00:00
e713e91279
Fix lua5.1 compat (for luajit)
2020-07-30 21:34:34 +00:00
f270967f8a
Add error handling to wlr_output_commit
2020-07-30 20:27:06 +00:00
e5ce807d7e
Mode-set the output (fixes DRM backend)
2020-07-30 19:41:08 +00:00
5bacdf12c6
Remove __gc from renderer
2020-02-10 00:22:01 +00:00
3c53b275f0
clang-format
2020-02-08 15:56:36 +00:00
22a32e86a9
Add kiwmi:schedule
2020-02-08 15:08:37 +00:00
af95af3362
Remove accidental kakoune swap file
2020-02-06 18:06:48 +00:00
1d755a8a74
Add object lifetimes (invalidate references, free listeners)
2020-02-06 17:55:05 +00:00
6efa181e8f
clang-format
2020-01-30 19:02:19 +00:00
32b9498d9c
Allow layer-shell surfaces to change their layer
2020-01-28 17:13:53 +00:00
9664b9381a
clang-format
2020-01-28 16:50:57 +00:00
Hardy7cc
f9bf9f9c79
Fixed changes introduced with wlroots version 0.10.0 ( #17 )
...
The variable layer in struct wlr_layer_surface_v1 is moved to wlr_layer_surface_v1_state
2020-01-28 16:50:17 +00:00
6ad6e04bb8
Remove tointeger calls to prevent lua from falling back to 0
2020-01-26 19:31:14 +00:00
7883089834
Make positions integers
2020-01-26 19:28:00 +00:00
a2cd2f596a
Add renderer
2020-01-26 19:18:52 +00:00
39a77fadaa
Only calculate output coords once per render
2020-01-22 23:16:09 +00:00
05bc4aada7
Add view:csd
2020-01-21 19:48:50 +00:00
f961b97c56
Add kiwmi:stop_interactive
2020-01-20 23:41:19 +00:00
e2ba6622f7
Add imove and iresize events, and view:imove, view:iresize
2020-01-20 23:21:17 +00:00
22f12dc506
Add view:title, view:app_id, view:pid
2020-01-19 23:36:12 +00:00
557a7ff753
Make kiwmi:spawn return the pid
2020-01-19 23:14:48 +00:00
c1972bfefc
Respect layers for cursor motion
2020-01-19 19:45:13 +00:00
678b4ce549
Fix geometry
2020-01-19 18:10:18 +00:00
dd46523b3c
Fix focus getting stuck on layers
2020-01-18 20:01:23 +00:00
96484a75f8
Focus layer-shell
2020-01-18 19:38:47 +00:00
c0b0418af8
Move seat into extra file
2020-01-18 15:56:12 +00:00
b909262f5a
Add interactive move and rudamentary resize
2020-01-17 19:51:56 +00:00
598731af12
Add keboard:on_destroy
2020-01-15 22:48:15 +00:00
352e91258b
Fix memleaks
2020-01-15 20:52:26 +00:00
a5653d357a
Start layer-shell
2020-01-15 20:30:37 +00:00
6fb13b2871
Add view:size
2020-01-08 22:26:17 +00:00
866a8a2cad
Add server:view_at
2020-01-08 21:46:41 +00:00
8781f19de7
Add output:on_resize, fix missing output:on
2020-01-08 21:46:36 +00:00
6d84fbe1c5
clang-format
2020-01-08 17:33:15 +00:00
5dc2c62d89
Add equality for Lua types
2020-01-08 17:33:01 +00:00
838aaf2daf
Make view:tiled user configurable
2020-01-08 17:24:13 +00:00
783e982206
Rename view_resize to view_set_size
2020-01-08 16:39:20 +00:00
09bc31eaf1
Add view:tiled
2020-01-07 15:10:51 +00:00
192dfca0ca
Add cursor API
2020-01-07 14:48:55 +00:00
aa046f8f02
Add output interface
2020-01-06 18:25:46 +00:00
84d49083c7
Add missing return on error in a few places
2020-01-06 16:47:57 +00:00
4d106fa639
Cap namelen
2020-01-06 16:47:33 +00:00
0b93459147
Fix protocol names
2020-01-05 00:02:58 +00:00
a0bae4f8b5
Add view:pos and view:resize
2020-01-04 23:54:55 +00:00
758e793281
Add keyboard to Lua API, make everything on lua->L balanced
2020-01-04 23:23:15 +00:00
85120c16cd
Add kiwmi:focused_view() and kiwmi:spawn()
2020-01-03 20:46:39 +00:00
ff9c63547d
Add missing assignment to focused_view
2020-01-03 20:46:06 +00:00
b79aa962d6
Add kiwmic IPC
2020-01-03 18:40:11 +00:00
cbe587b8c2
Add view destroy event
2020-01-02 23:39:15 +00:00
3ac3781e9f
Make event handler registration generic
2020-01-02 22:15:00 +00:00
15c70816f3
Split luak.c into multiple files
2020-01-02 00:11:46 +00:00
3e4fc2bf46
Prefix kiwmi_server methods with kiwmi_server
2020-01-01 18:13:47 +00:00
236c76df0e
Add view event to kiwmi_server
2020-01-01 18:13:24 +00:00
460ec217dd
Add hidden, hide and show to views
2020-01-01 18:10:42 +00:00
ab1e95bef3
Change make kiwmi an object, use pcall for Lua functions
2019-12-31 15:19:42 +00:00
21f726c3ce
Change on_cursor_button's callbacks parameter to a table
2019-12-31 13:46:21 +00:00
Tadeo Kondrak
858bd3a767
Implement view:move()
2019-12-30 23:06:58 -07:00
Tadeo Kondrak
0306baf534
Fix crash on unmap
...
The complete type unsafety of wl_container_of strikes again.
2019-12-30 22:30:08 -07:00
Tadeo Kondrak
23a387a217
Pass arguments to on("cursor_button")
...
Loses the genericity, but I don't think we have a choice.
2019-12-30 22:30:07 -07:00
Tadeo Kondrak
849cda7021
Rename focus_view to view_focus
...
For consistency with the other functions.
2019-12-30 22:24:58 -07:00
Tadeo Kondrak
09b817deaa
Remove focus on click
...
It's a config responsibility now.
2019-12-30 22:24:53 -07:00
Tadeo Kondrak
861e4ec55a
Add ForEachMacros to .clang-format
...
So it doesn't add a linebreak after them.
2019-12-30 21:46:50 -07:00
006c73b47a
Fix callback leak
2019-12-31 00:25:20 +00:00
9fb2b2ce43
Add luaK_fini
2019-12-31 00:09:06 +00:00
1d073cf0ea
Add Lua library
...
For now only kiwmi.on, kiwmi.quit, kiwmi.view_under_cursor,
kiwmi_view:close, lua_callback:cancel, and cursor_button events.
2019-12-30 23:33:07 +00:00
9f9370e949
Add view_close
2019-12-30 23:23:35 +00:00
dc6cf64892
Rename request_set_cursor to seat_request_set_cursor
2019-12-29 13:03:54 +00:00
41edaf8489
Merge branch 'cursor-image-handling' of git://github.com/tadeokondrak/kiwmi into tadeokondrak-cursor-image-handling
2019-12-29 13:00:45 +00:00
Tadeo Kondrak
ced6665c75
Add support for cursor axis and frame events ( #15 )
...
For scrolling support.
2019-12-29 11:10:51 +00:00
Tadeo Kondrak
83381498ff
Fix lack of return from function ( #14 )
2019-12-29 10:39:53 +00:00
Tadeo Kondrak
9dfbb462ca
Verify focus on cursor image changes
2019-12-29 01:26:29 -07:00
Tadeo Kondrak
0bdfdde29b
Basic implementation of request_set_cursor
...
Requires moving wlr_seat initialization above cursor creation, so we can
add listeners to it. Currently does no verification that the client
actually has focus.
2019-12-29 01:26:28 -07:00
06debf11db
Add basic cursor handling (including focusing clients)
2019-12-26 20:55:10 +00:00
2f4c865afc
Move view creation code into view_create
2019-12-24 17:09:16 +00:00
68eec4ae23
Move wl_list_remove(view::link) to the top of the bunch
2019-12-24 16:09:22 +00:00
9ca0d87a32
Add auto focus for views and basic keyboard handling
2019-12-24 15:43:36 +00:00
31217d3089
Fix view staying in view list, even after destroyed
2019-12-24 15:41:23 +00:00
cce0d0ba15
Support xdg-shell and add basic rendering
2019-12-21 14:10:50 +00:00
3673ae37ca
Change free, malloc to realloc
2019-12-11 13:46:09 +00:00
f936aed7c2
Add protocols (xdg-shell)
2019-12-10 23:37:43 +00:00
1e42eba563
Style changes
2019-12-04 16:55:25 +00:00
0f4657e279
Add screenshot support
2019-12-04 16:54:46 +00:00
815a8b96ad
Change fallback render color to something more visible
2019-11-28 18:30:49 +00:00
79e6b392cf
Add Lua config without kiwmi lib
2019-10-18 23:32:38 +02:00
71917a46cf
Add config path default
2019-10-18 22:42:30 +02:00
5a362d63c5
Delete frontend, add config
2019-10-16 19:05:30 +02:00