tiosgz
14754f53be
Contributing: add a note about code formatting
...
Wanted to share that pre-commit hook :)
2021-12-09 14:32:36 +00:00
tiosgz
4f39a54e69
Attempt to exit cleanly, without crash ( #51 )
2021-12-04 17:25:31 +00:00
Niclas
68085d94e3
Merge pull request #46 from tiosgz/view-get-size
...
view_get_size: access view::geom directly
2021-10-18 16:29:24 +00:00
Niclas
468c385e85
Merge pull request #48 from tiosgz/fix-docs
...
Update docs with output:redraw()
2021-10-14 19:16:47 +00:00
tiosgz
e9ace66162
Update docs with output:redraw()
...
Also fix ordering
2021-10-14 19:11:05 +00:00
Niclas
f66cdeeab3
Merge pull request #47 from willeccles/output-redraw
...
output: add redraw function
2021-10-14 18:56:56 +00:00
Will Eccles
e71e88f861
output: add redraw function
2021-10-14 14:40:09 -04:00
tiosgz
a69dd030b8
view_get_size: access view::geom directly
2021-10-09 17:33:59 +00:00
Niclas
2fb053eaaf
Merge pull request #43 from tiosgz/use-buffer-age
...
Use buffer age when rendering
2021-10-08 17:18:08 +00:00
Niclas
c8d7c7d547
Merge pull request #42 from tiosgz/view-geom
...
Various view geometry-related fixes
2021-10-08 17:07:50 +00:00
Niclas
40c5cd662a
Merge pull request #45 from 6gk/master
...
fix logic error
2021-10-06 20:29:10 +00:00
gk
53779b8e8e
fix logic error
2021-10-07 06:26:47 +10:00
tiosgz
58d701087e
Use buffer age when rendering
2021-09-19 13:02:15 +00:00
tiosgz
b9078f543b
Allow interactive move and resize at once
...
There is no technical reason not to allow resizing on opposite edges,
effectively getting single-directional interactive move (which can be
combined with another edge for resizing in the other direction).
2021-09-15 17:15:45 +00:00
tiosgz
b364634a9c
Fix top edge interactive resize
...
The view jumped to the cursor position vertically.
While making this change, I also put some consistency into how position
and size are set (first the original ones are considered, and then only
updated as needed). It doesn't change the functionality, but is easier
to understand IMO.
2021-09-15 17:05:05 +00:00
tiosgz
ff762668a6
Fix xdg_shell_view_get_size
...
If the view doesn't set its size explicitly (e.g. imv), it returned 0
2021-09-15 17:05:05 +00:00
tiosgz
dc3b6a9303
Fix getting view position
...
view->geom.{x,y} tell the compositor where to place the buffer
relatively to the view, view->{x,y} is the view's absolute position.
2021-09-15 17:05:05 +00:00
buffet
84c09bbc01
Add check to adjust_package_path
2021-09-14 12:16:22 +00:00
Niclas
537a7d7f9c
Merge pull request #41 from tiosgz/pointer-focus
...
Pointer focus improvements
2021-09-13 19:06:18 +00:00
buffet
d9b66e6f46
Add note about the IRC channel
2021-09-13 11:24:20 +00:00
buffet
65d8d37b70
Add $XDG_CONFIG_HOME/kiwmi to package path
2021-09-13 10:25:41 +00:00
tiosgz
beccbcc56a
Give pointer focus to layer shell surfaces as well
2021-09-10 21:06:41 +00:00
buffet
1189d74927
Use view_set_pos in process_cursor_motion
2021-09-05 18:35:07 +00:00
tiosgz
d5352862bb
Update pointer focus more often
...
Until now, focusing a different view didn't move pointer focus to it,
even though it was under the cursor. The pointer had to move in order
to switch its focus. Similar situations should be handled after this
commit.
2021-09-05 10:51:58 +00:00
buffet
23f479fdbb
Use unistd.h instead of getopt.h
2021-09-03 20:22:49 +00:00
Niclas
26efebbc8c
Merge pull request #39 from tiosgz/handle-popups
...
Handle xdg popups and subsurfaces
2021-08-27 16:42:19 +00:00
tiosgz
d69ccc7bdd
Only render mapped surfaces
...
This targets only surfaces under kiwmi_view, thus only XDG shell. Other
surfaces to be fixed later.
The new code here is copied over from wlroots, with only small
modifications.
2021-08-27 13:13:37 +00:00
tiosgz
ed1ff6a1d3
Handle XDG popups and subsurfaces
...
This commit ensures that they also cause output damage to happen and
that popups are moved into the visible area.
I browsed the source code of Sway while writing this and took a lot of
inspiration and help from there.
2021-08-27 13:06:55 +00:00
buffet
bb9c2936fa
Fix format CI test
2021-08-26 12:42:18 +00:00
buffet
67aa129ffc
Add build passing shield
...
Looks good
2021-08-18 18:43:25 +00:00
buffet
90ab062a01
Add --werror for CI, to make it easier to spot stuff
2021-08-18 18:32:50 +00:00
buffet
cf228a0819
Move stuff into output_damage() function
2021-08-15 17:07:54 +00:00
buffet
ab98bfbc5f
Damage output when layer-shell surface updates
2021-08-15 17:00:06 +00:00
buffet
8772b45583
Don't redraw on cursor movements unless required
2021-08-14 21:31:31 +00:00
buffet
ad49bd2541
Clean up damage tracking code a little
2021-08-14 21:04:23 +00:00
buffet
99743e7e2b
Redraw twice on damage (even more hacky)
2021-08-14 20:25:15 +00:00
buffet
70376c9762
Damage on move and resize
2021-08-14 20:06:00 +00:00
buffet
b832975c6d
Add hacky lazy damage tracking implementation
2021-08-14 19:44:20 +00:00
buffet
9c7d848ce5
Add scoll event
2021-08-14 18:42:35 +00:00
buffet
ef3ce0d1c5
Add cirrus CI
2021-08-13 17:59:54 +00:00
buffet
bca880ac27
Add note about kiwmic
2021-08-13 17:59:54 +00:00
Niclas
b55a278c42
Merge pull request #37 from tiosgz/bg-paint
...
kiwmi:bg_color()
2021-08-13 17:44:37 +00:00
Niclas
612cd86875
Merge pull request #36 from tiosgz/verbosity
...
Add controls for verbosity level
2021-08-13 17:43:20 +00:00
tiosgz
f1c2262ff6
Add controls for verbosity level
...
This allows the config to be exactly as verbose as kiwmi, or to change
the verbosity level at runtime (e.g. using kiwmic).
It uses numbers, because they are much easier to handle on both sides
and add only little inconvenience to the user.
2021-08-13 13:46:35 +00:00
tiosgz
f5ee33d887
kiwmi:bg_color()
2021-08-13 08:36:00 +00:00
buffet
465904a2d5
Fix meson indent in editorconfig
2021-08-12 11:54:25 +00:00
Niclas
02e80846ae
Merge pull request #35 from tiosgz/editorconfig
...
Add an editorconfig file
2021-08-12 08:47:56 +00:00
Niclas
d62f595aef
Merge pull request #32 from tiosgz/usable-area
...
kiwmi_output:usable_area() and :on("usable_area_change")
2021-08-12 08:45:30 +00:00
tiosgz
76f1bc00eb
Add an editorconfig file
2021-08-11 20:34:41 +00:00
tiosgz
ea13f7d7c5
kiwmi_output:usable_area() and :on("usable_area_change")
2021-08-11 20:30:14 +00:00