Commit graph

2269 commits

Author SHA1 Message Date
Simon Long
2d959b98fd Just to make double sure... 2024-05-15 22:55:27 +01:00
Simon Long
ae2638b238 Make initial scaling a float; prevent divide by zero 2024-05-15 22:50:45 +01:00
Simon Long
50066161b0 Move magnifier config into rc.xml 2024-05-15 19:19:51 +01:00
Simon Long
8d5bfe1e0e Drop tmp_buffer if no texture allocated 2024-05-15 18:47:13 +01:00
Simon Long
6249a3e61c Remove local mag_increment 2024-05-15 18:43:39 +01:00
Simon Long
ad7eddd520 Code review changes 2024-05-15 18:35:19 +01:00
Simon Long
8a2bf0a700 Code style 2024-05-15 11:35:13 +01:00
Simon Long
18819b1147 Move magnifier code to separate module 2024-05-15 11:33:20 +01:00
Simon Long
24e86f095c Update documentation 2024-05-14 15:07:20 +01:00
Simon Long
897ba49e7a Use set_float 2024-05-13 09:47:15 +01:00
Simon Long
a64479037f Make magnifier increment a theme parameter 2024-05-13 07:43:07 +01:00
Simon Long
56a86ffeed Tidying 2024-05-09 10:21:11 +01:00
Simon Long
d2d301f98e Parameterise magnification step for now 2024-05-08 15:15:53 +01:00
Simon Long
4dc9255fe3 Remove explicit fullscreen flag 2024-05-08 08:54:20 +01:00
Simon Long
94afd1f7b0 Now with the right calculation... 2024-05-08 08:45:02 +01:00
Simon Long
035e2b7fc9 Fix magnifications > 2 with fullscreen; still not perfect 2024-05-07 15:26:03 +01:00
Simon Long
2e1266229e Code style 2024-05-07 14:32:59 +01:00
Simon Long
a553d174b5 Code style 2024-05-07 14:30:39 +01:00
Simon Long
c2873a75f3 Add fullscreen magnifier mode 2024-05-07 14:27:42 +01:00
Simon Long
e8d23d1540 Default values added to documentation 2024-05-07 13:50:44 +01:00
Simon Long
765505d9ff Remove spurious blank line 2024-05-03 16:30:52 +01:00
Simon Long
b5262e1375 Typo 2024-05-03 15:39:29 +01:00
Simon Long
627eaa6cbf Code style 2024-05-03 15:35:40 +01:00
Simon Long
5b60f3c80f Update documentation 2024-05-03 15:32:55 +01:00
Simon Long
19a57c6ea4 Move magnifier settings into theme 2024-05-03 15:22:18 +01:00
Simon Long
15f35ed2ba Typo 2024-05-03 14:16:11 +01:00
Simon Long
ee80787e1c Add action documentation 2024-05-03 14:14:07 +01:00
Simon Long
89bd1b77de Use separate ZoomIn and ZoomOut commands 2024-05-03 14:08:32 +01:00
Simon Long
ee412811ce Build error 2024-05-03 13:37:43 +01:00
Simon Long
d119ca433c More code style 2024-05-03 13:32:20 +01:00
Simon Long
ea3674faf0 Code style 2024-05-03 13:27:17 +01:00
Simon Long
6038c87d03 Clarification 2024-05-03 13:16:47 +01:00
Simon Long
2be9edd817 Documentation 2024-05-03 13:13:01 +01:00
Simon Long
a552cd1ba5 Remove default magnifier bindings 2024-05-03 12:59:04 +01:00
Simon Long
479df784ea It's hip to (not) be square... 2024-05-03 12:57:34 +01:00
Simon Long
74e581118f Add filtering option to XML 2024-05-03 12:56:45 +01:00
Simon Long
59e83e5bd3 Add setting of border width and colour 2024-05-03 12:56:26 +01:00
Simon Long
22003ee6af Documentation 2024-05-03 12:55:21 +01:00
Simon Long
93421884f7 Add first magnifier values to XML handling 2024-05-03 12:54:16 +01:00
Simon Long
dd42e57c9a No need to track scale changes 2024-05-03 12:53:25 +01:00
Simon Long
789e7f9331 Magnifier on/off just a global flag; not in XML 2024-05-03 12:53:05 +01:00
Simon Long
f76dffa01a Move magnfier size into XML 2024-05-03 12:51:46 +01:00
Simon Long
483a92368e Use fixed-size loupe 2024-05-03 12:49:46 +01:00
Simon Long
dfd9aa4aba First attempt at integration with nmouse and keyboard bindings 2024-05-03 12:49:41 +01:00
tokyo4j
4b6efb7307 cursor: implement <menu><ignoreButtonReleasePeriod>
Addresses UX degradation introduced by commit 1d3ed457.

This prevents clicks with small movement with the intention of opening
the menu from unexpectedly closing the menu or selecting a menu item.
2024-05-01 19:08:07 +09:00
Tomi Ollila
96d5d80be2 docs: refer labwc-actions(5), not labwc-action(5) 2024-04-29 22:59:42 +02:00
tokyo4j
f6328d7d45 view: update top layer visibility on map
Steam's Big Picture Mode window requests fullscreen before mapping.
2024-04-29 14:39:05 +02:00
tokyo4j
2603dbf396 ssd: don't update ssd if view width is too small
Clients can ignore the requsted geometry and negative widths could be
passed to `wlr_scene_rect_set_size()` in `ssd_titlebar_update()` or in
`ssd_border_update()`.
2024-04-28 10:20:24 +02:00
tokyo4j
c224e1e05a view: set LAB_MIN_VIEW_WIDTH equal to total width of buttons
This fixes pixman error due to a negative width passed to
`wlr_scene_rect_set_size()` in `ssd_titlebar_update()`.
2024-04-28 10:20:24 +02:00
Johan Malm
5be28d8b56 .editorconfig: set max_line_length=80 for *.md 2024-04-27 22:09:16 +01:00