]>
git.mdlowis.com Git - proto/labwc.git/log
Dima Krasner [Mon, 8 Nov 2021 18:17:50 +0000 (20:17 +0200)]
build: when building wlroots subproject, link statically
Dima Krasner [Mon, 8 Nov 2021 18:17:08 +0000 (20:17 +0200)]
build: fix name collision with wlroots, when linking statically
Johan Malm [Mon, 8 Nov 2021 17:36:39 +0000 (17:36 +0000)]
theme: add menu.overlap.{x,y}
Johan Malm [Mon, 8 Nov 2021 17:20:37 +0000 (17:20 +0000)]
menu: support inline submenus
...for example:
<menu id="root-menu" label="">
<menu id="submenu" label="submenu">
<item label="foo"></item>
</menu>
<item label="bar"></item>
</menu>
Johan Malm [Tue, 2 Nov 2021 18:31:19 +0000 (18:31 +0000)]
menu: support submenus
Support submenus defined as follows:
<menu id="submenu" label="Submenu">
<item label="item1.1"></item>
<item label="item1.2"></item>
</menu>
<menu id="root-menu" label="">
<menu id="submenu" />
<item label="item0"></item>
</menu>
ARDiDo [Tue, 2 Nov 2021 00:43:57 +0000 (20:43 -0400)]
mousebind: update documentation
ARDiDo [Tue, 2 Nov 2021 00:32:14 +0000 (20:32 -0400)]
mousebind: add support for more contexts and mouse events
Joshua Ashton [Mon, 1 Nov 2021 22:00:52 +0000 (22:00 +0000)]
keyboard: Fix cycle view taking precedence over TTY switch
I had a bug where cycle view would not close and I was unable to switch to a TTY as it was open.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Mon, 1 Nov 2021 21:59:07 +0000 (21:59 +0000)]
keyboard: Fix handled check
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Johan Malm [Mon, 1 Nov 2021 22:07:18 +0000 (22:07 +0000)]
wlroots.wrap: set url to https://gitlab.freedesktop.org/wlroots/wlroots
ARDiDo [Sat, 30 Oct 2021 14:20:06 +0000 (10:20 -0400)]
output: update layer surfaces on output geometry changes
ARDiDo [Tue, 26 Oct 2021 19:15:52 +0000 (15:15 -0400)]
resistance: don't use gap value
ARDiDo [Mon, 25 Oct 2021 21:04:22 +0000 (17:04 -0400)]
resistance: update documentation + default strength value
ARDiDo [Mon, 25 Oct 2021 01:31:05 +0000 (21:31 -0400)]
resistance: remove bool, add resistance.h + license
ARDiDo [Mon, 25 Oct 2021 01:14:05 +0000 (21:14 -0400)]
resistance: improve readability
ARDiDo [Sun, 24 Oct 2021 16:17:57 +0000 (12:17 -0400)]
resistance: fix meson.build
ARDiDo [Sun, 24 Oct 2021 16:13:20 +0000 (12:13 -0400)]
resistance: move strength.c to resistance.c
ARDiDo [Sun, 24 Oct 2021 16:08:30 +0000 (12:08 -0400)]
resistance: move to <resistance> node
ARDiDo [Sun, 24 Oct 2021 02:48:04 +0000 (22:48 -0400)]
resize resistance support
ARDiDo [Sun, 24 Oct 2021 02:31:39 +0000 (22:31 -0400)]
Improve expandibility
ARDiDo [Sat, 23 Oct 2021 15:25:37 +0000 (11:25 -0400)]
Partial screen_edge_strength
Johan Malm [Fri, 22 Oct 2021 19:27:16 +0000 (20:27 +0100)]
Update NEWS.md
Johan Malm [Fri, 22 Oct 2021 19:25:33 +0000 (20:25 +0100)]
README.md: add a video showing SnapToEdge
Posted by @Joshua-Ashton in pull-request
Johan Malm [Fri, 22 Oct 2021 19:24:39 +0000 (20:24 +0100)]
config: add some comments in "struct rcxml"
Johan Malm [Fri, 22 Oct 2021 19:23:09 +0000 (20:23 +0100)]
config: add <core><adaptiveSync>
Johan Malm [Thu, 21 Oct 2021 19:40:14 +0000 (20:40 +0100)]
config: make capitalization consistent in rc.xml
Johan Malm [Thu, 21 Oct 2021 19:38:52 +0000 (20:38 +0100)]
rc.xml.all: add keyboard repeatRate and repeatDelay
Johan Malm [Thu, 21 Oct 2021 19:37:30 +0000 (20:37 +0100)]
cursor: do not crash on layer popup/subsurfaces
Joshua Ashton [Thu, 21 Oct 2021 17:09:53 +0000 (17:09 +0000)]
keybind: Fix shift modifiers
Need to lower the syms for these to match!
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Johan Malm [Wed, 20 Oct 2021 21:32:46 +0000 (22:32 +0100)]
layers: support popups
Johan Malm [Wed, 20 Oct 2021 19:57:12 +0000 (20:57 +0100)]
desktop: use correct coordinates layer_surface_at()
Use output coordinates rather than layout coordinates in order to
correctly handle pointer button event on multi-output setup.
Johan Malm [Wed, 20 Oct 2021 19:34:47 +0000 (20:34 +0100)]
xwayland: clear wlr_xwayland_surface in handle_destroy
Avoids wlr_xwayland_surface becoming a dangling pointer if a view is not
destroyed immediately.
See swaywm/sway@
215787e8
Johan Malm [Wed, 20 Oct 2021 18:54:39 +0000 (19:54 +0100)]
docs/autostart: add kanshi, waybar and mako as examples
Johan Malm [Wed, 20 Oct 2021 18:53:05 +0000 (19:53 +0100)]
labwc-theme(5): add missing theme options
Johan Malm [Wed, 20 Oct 2021 18:52:17 +0000 (19:52 +0100)]
docs/themerc: add missing theme options
Joshua Ashton [Wed, 20 Oct 2021 16:27:14 +0000 (16:27 +0000)]
server: Expose viewporter
Needed for some games to fake modesets.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Wed, 20 Oct 2021 16:27:06 +0000 (16:27 +0000)]
output: Implement src box for viewporter
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Wed, 20 Oct 2021 16:06:32 +0000 (16:06 +0000)]
xwayland: Implement set_decorations
Fixes games going between borderless and normal windowed modes.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Wed, 20 Oct 2021 16:03:27 +0000 (16:03 +0000)]
xdg-deco: Respect decoration requests properly
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Wed, 20 Oct 2021 16:02:45 +0000 (16:02 +0000)]
xdg: Set view in user data
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Wed, 20 Oct 2021 16:02:39 +0000 (16:02 +0000)]
xwayland: Set view in surface data
Signed-off-by: Joshua Ashton <joshua@froggi.es>
ARDiDo [Tue, 19 Oct 2021 22:15:56 +0000 (18:15 -0400)]
use closest wlr_output
ARDiDo [Tue, 19 Oct 2021 00:55:01 +0000 (20:55 -0400)]
clean up view_available_wlr_output
ARDiDo [Mon, 18 Oct 2021 23:59:11 +0000 (19:59 -0400)]
improve view_output
Johan Malm [Tue, 19 Oct 2021 20:52:26 +0000 (21:52 +0100)]
rc.xml.all: re-format and improve comments
Johan Malm [Tue, 19 Oct 2021 20:51:28 +0000 (21:51 +0100)]
rc.xml.all: change default <core><gap> from 10 to 0
Johan Malm [Tue, 19 Oct 2021 20:48:49 +0000 (21:48 +0100)]
rc.xml.all: add <libinput>
Johan Malm [Tue, 19 Oct 2021 20:47:47 +0000 (21:47 +0100)]
labwc-config(5): minor language tweaks
Johan Malm [Tue, 19 Oct 2021 20:44:44 +0000 (21:44 +0100)]
config: change libinput variables to camelCase
This is more consistent with other rc.xml variables.
strcasecmp() is used in src/config/rc.xml, so there are not backward
compatibility issues.
Johan Malm [Tue, 19 Oct 2021 20:39:26 +0000 (21:39 +0100)]
labwc-config(5): add binds for Audio and MonBrightness keys
Johan Malm [Mon, 18 Oct 2021 19:06:47 +0000 (20:06 +0100)]
view: fix build warning
Johan Malm [Mon, 18 Oct 2021 19:01:10 +0000 (20:01 +0100)]
view: add view_get_string_prop()
Johan Malm [Mon, 18 Oct 2021 18:47:32 +0000 (19:47 +0100)]
labwc-actions(5): add SnapToEdge "center" argument
Johan Malm [Mon, 18 Oct 2021 18:40:04 +0000 (19:40 +0100)]
foreign: remove unnecessary view_update_title()
View update title is called from view_impl_map() which is enough
Johan Malm [Mon, 18 Oct 2021 18:35:41 +0000 (19:35 +0100)]
view: check view->impl functions exist before using
Avoids segfault when using disappearing notification in Thunderbird
Joshua Ashton [Sun, 17 Oct 2021 22:53:43 +0000 (22:53 +0000)]
action: Implement shift to go backwards in OSD
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Mon, 18 Oct 2021 00:24:59 +0000 (00:24 +0000)]
config: Fix RaiseOnFocus always setting FollowMouse
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 22:09:34 +0000 (22:09 +0000)]
view: Add 'center' option to SnapToEdge
Similar to fullscreen, but not a separate state, and with gaps.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 22:03:11 +0000 (22:03 +0000)]
cursor: Don't trigger cursor modifiers if we have a constraint
We are probably playing a game and we don't want to be resizing the window when trying to duck/jump whatever.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 22:00:54 +0000 (22:00 +0000)]
cursor: Fix modifier button check
Previously any modifier would trigger this due to &ing the wrong value.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 21:57:10 +0000 (21:57 +0000)]
cursor: Handle absolute motion for relative_pointer
Signed-off-by: Joshua Ashton <joshua@froggi.es>
ARDiDo [Sun, 17 Oct 2021 20:54:35 +0000 (16:54 -0400)]
add pointer constraints
Johan Malm [Sun, 17 Oct 2021 21:23:00 +0000 (22:23 +0100)]
view: set inter-view gap correctly in SnapToEdge
When arranging views side-by-side or above-below using SnapToEdge, the gap
between views should be rc.gap rather than 2x rc.gap
Johan Malm [Sun, 17 Oct 2021 20:36:32 +0000 (21:36 +0100)]
README: add link to yambar
Both labwc and yambar were patched today to better handle
foreign-toplevel protocol and now work well together.
Johan Malm [Sun, 17 Oct 2021 20:36:06 +0000 (21:36 +0100)]
README: add super+arrow keybinds
Johan Malm [Sun, 17 Oct 2021 20:31:44 +0000 (21:31 +0100)]
rc.xml.all: add super+arrow keybinds
Johan Malm [Sun, 17 Oct 2021 20:30:48 +0000 (21:30 +0100)]
config: use super+arrow for SnapToEdge by default
Johan Malm [Sun, 17 Oct 2021 20:27:25 +0000 (21:27 +0100)]
labwc-actions(5): add SnapToEdge
Johan Malm [Sun, 17 Oct 2021 20:05:57 +0000 (21:05 +0100)]
build: replace deprecated get_pkgconfig_variable()
Use get_variable(pkgconfig: ...) instead of get_pkgconfig_variable(...)
Johan Malm [Sun, 17 Oct 2021 19:52:29 +0000 (20:52 +0100)]
labwc-theme(5): add window.label.text.justify
In support of labwc@
8b8e37c2
Joshua Ashton [Sun, 17 Oct 2021 19:12:06 +0000 (19:12 +0000)]
theme: Implement window.label.text.justify
Crosses off 6.12.1
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 18:37:55 +0000 (18:37 +0000)]
xdg: Respect min/max size in configure
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 18:34:49 +0000 (18:34 +0000)]
xwayland: Handle min width/height in configure
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 18:32:27 +0000 (18:32 +0000)]
cursor: Handle min size better
Less janky than just returning if one extent reaches max, and also uses the new min_size function for xwayland hint support.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 18:37:25 +0000 (18:37 +0000)]
include: Add min/max helpers
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 18:31:53 +0000 (18:31 +0000)]
view: Add view_min_size helper function
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 17:12:51 +0000 (17:12 +0000)]
xwayland: Implement resize event
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 17:11:41 +0000 (17:11 +0000)]
xwayland: Implement move event
Closes: #81
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 01:39:19 +0000 (01:39 +0000)]
xwayland: Only perform top-left boundary check when using ssd
We don't have decorations so we shouldn't account for them.
Closes: #53
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 01:14:01 +0000 (01:14 +0000)]
action: Fix crash in move to edge
Fixes a crash in move to edge ( #77 ) when the centre of the window is out of any display regions.
Doesn't fix the expected behaviour that it would work, but much better than the whole compositor dying.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshua Ashton [Sun, 17 Oct 2021 00:44:24 +0000 (00:44 +0000)]
action: Add 'SnapToEdge'
Implements snap-style edge snapping that works between multiple monitors.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Joshie [Sat, 16 Oct 2021 23:17:46 +0000 (23:17 +0000)]
theme: fix parsing inactive label colors
There was a typo here which meant these never got parsed and always appeared as black.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Johan Malm [Sat, 16 Oct 2021 20:50:56 +0000 (21:50 +0100)]
xdg/wayland-shell: handle set_app_id and set_class events
Johan Malm [Sat, 16 Oct 2021 20:26:57 +0000 (21:26 +0100)]
view: call wlr_foreign_toplevel_handle_v1_set_app_id() on map
Fix issue #74
Add view-impl.c with view_impl_map() containing common code for xdg-shell
and xwayland-shell.
Johan Malm [Sat, 16 Oct 2021 18:53:00 +0000 (19:53 +0100)]
desktop: remove deprecated functions
- set_activated()
- desktop_set_focus_view_only()
Johan Malm [Sat, 16 Oct 2021 18:44:54 +0000 (19:44 +0100)]
desktop: simplify interface for view raise/focus
Split desktop_focus_view() into the following two functions:
- desktop_focus_and_activate_view()
- desktop_raise_view()
Always call view_set_activated() rather than using the private
set_activated(). This keeps the code cleaner and ensures
wlr_foreign_toplevel_handle_v1_set_activated() is called.
Johan Malm [Sat, 16 Oct 2021 18:24:26 +0000 (19:24 +0100)]
view: add view_set_activated()
Call wlr_foreign_toplevel_handle_v1_set_activated() from it in support of
issue #73
Johan Malm [Fri, 15 Oct 2021 20:44:27 +0000 (21:44 +0100)]
theme: inherit osd colors if not set
Johan Malm [Fri, 15 Oct 2021 20:35:41 +0000 (21:35 +0100)]
theme: add window_(in)active_label_text_color
Support both active and inactive colors for titlebar text
Johan Malm [Fri, 15 Oct 2021 19:52:36 +0000 (20:52 +0100)]
Fix coding style, mostly whitespace
Johan Malm [Fri, 15 Oct 2021 19:33:55 +0000 (20:33 +0100)]
config: survive parsing error
It is no good crashing on an rc.xml syntax error, particularly on a
SIGHUP when the user could have applications open.
Johan Malm [Fri, 15 Oct 2021 18:14:07 +0000 (19:14 +0100)]
layer-shell: fix commit handler (issue #71)
On commit, do not arrange layers unless the layer shell-specific state
changed or the layer was (un)mapped.
Chase swaywm/sway@
5fd5d643 and swaywm/wlroots@
754f40f9
ARDiDo [Fri, 15 Oct 2021 16:27:52 +0000 (12:27 -0400)]
Fix build errors
ARDiDo [Fri, 15 Oct 2021 16:14:07 +0000 (12:14 -0400)]
Update labwc-config(5)
ARDiDo [Fri, 15 Oct 2021 14:26:00 +0000 (10:26 -0400)]
Complete libinput configuration
Johan Malm [Thu, 14 Oct 2021 18:37:57 +0000 (19:37 +0100)]
config: support audio and monitor keys by default
Add default keybinds:
XF86_AudioLowerVolume - amixer sset Master 5%-
XF86_AudioRaiseVolume - amixer sset Master 5%+
XF86_AudioMute - amixer sset Master toggle
XF86_MonBrightnessUp - brightnessctl set +10%
XF86_MonBrightnessDown - brightnessctl set 10%-
Johan Malm [Wed, 13 Oct 2021 20:36:26 +0000 (21:36 +0100)]
Update NEWS.md
Johan Malm [Wed, 13 Oct 2021 20:30:44 +0000 (21:30 +0100)]
buf.h: update documentation
Johan Malm [Wed, 13 Oct 2021 20:29:32 +0000 (21:29 +0100)]
theme: add osd colors
Johan Malm [Mon, 11 Oct 2021 21:31:38 +0000 (22:31 +0100)]
buf.c: handle variables with curly braces
In buf_expand_shell_variables(), corrently resolve ${foo}
rather than just $foo