Commit graph

1910 commits

Author SHA1 Message Date
Johan Malm
954a5eadf1 xdg-popup: uncontrain popups 2021-03-02 20:51:32 +00:00
Johan Malm
d54a998dd8 Handle wlr_surface->events.new_subsurface
Add view-child.c, xdg-popup.c, subsurface.c in order to track damage
associated with new XDG subsurfaces.
2021-03-02 20:37:23 +00:00
Johan Malm
b9d6ce324f Set default A-F3 binding to bemenu instead of dmenu 2021-03-01 18:40:11 +00:00
Johan Malm
e0067536fc view.c: refactor view_maximize() 2021-03-01 18:15:02 +00:00
Johan Malm
b616bb6842 maximize: choose output based on center of view 2021-03-01 17:59:09 +00:00
Johan Malm
be3fea0c1a view.c: remember unmaximized geometry 2021-02-28 18:12:10 +00:00
Alex Bryan
50137e0bbe Add placeholder output-config verification
Added a placeholder function to verify an output configuration that
we've received from a client via output-management-v1. Currently we just
assume the config is valid and teturn true, but we should really look
at the config before applying it
2021-02-28 00:08:47 -05:00
Alex Bryan
2a0f171340 Added initial wlr-output-management-unstable-v1 support
Was able to use wlr-randr to arrange my monitors correctly.

TODO: test w/ kanshi and handle output_manager->events.test event
2021-02-27 23:15:02 -05:00
Alex Bryan
f5f8acc543 Merge branch 'maximize' 2021-02-27 17:14:24 -05:00
Alex Bryan
5e7f2c91a3 Added basic maximize support for xdg and xwayland 2021-02-27 17:10:53 -05:00
Johan Malm
2ce58f2950 cursor.c: set cursor_name correctly when not over decoration 2021-02-27 19:26:13 +00:00
Johan Malm
133ea96f64 Simplify view margin/padding related code
Fix xdg-shell CSD resize bug
2021-02-27 16:55:10 +00:00
Johan Malm
ce73d23127 main.c: declare theme within main() 2021-02-25 22:14:07 +00:00
Johan Malm
de88b69d62 mv theme.c .. 2021-02-21 22:18:34 +00:00
Johan Malm
22d66c81ca Merge theme.c and theme-builtin.c 2021-02-21 22:13:18 +00:00
Johan Malm
cb2a504440 theme: add theme_finish() 2021-02-21 22:03:14 +00:00
Johan Malm
9f61a819fc Add zfree 2021-02-21 21:59:53 +00:00
Johan Malm
1b263e1f67 Un-global theme variable 2021-02-21 21:54:40 +00:00
Johan Malm
9af7bd744f Reload buttons in SIGHUP
Call xbm_load() from theme_init()
2021-02-21 21:14:06 +00:00
Johan Malm
6cdf3d68f3 menu: minor refactoring 2021-02-19 23:31:30 +00:00
Johan Malm
f0d8eb0a60 menu: reload on SIGHUP 2021-02-19 23:05:14 +00:00
Johan Malm
011f20ef6b xdg.c: damage outside view for popups 2021-02-17 20:42:50 +00:00
Johan Malm
855f21b1b3 menu.c: parse menu.xml root-menu 2021-02-17 20:38:16 +00:00
Johan Malm
9eac349046 rc.xml: move nodename() to nodename.c 2021-02-16 21:04:49 +00:00
Johan Malm
a97428020e rc.xml: split out rstrip() to string-helpers.c 2021-02-16 21:03:38 +00:00
Johan Malm
bc04f50d14 Add basic menu theme options 2021-02-16 20:43:20 +00:00
Johan Malm
f3a95d65ad output.c: remove unnecessary _remove() and _destroy() 2021-02-15 18:36:30 +00:00
Johan Malm
0e69c9ee9f cursor.c: set damage for changing button states 2021-02-15 18:04:04 +00:00
Johan Malm
0850a2edc4 Merge branch 'master' of https://github.com/johanmalm/labwc 2021-02-15 17:58:36 +00:00
Johan Malm
22654d5191 deco.c: simplify initialization 2021-02-15 17:58:04 +00:00
Johan Malm
d5108e291f spawn.c: s/exit()/_exit()/ 2021-02-15 17:57:20 +00:00
Johan Malm
4a8fcf5c6d seat.c: check finger count before enabling tapfor libinput device 2021-02-06 15:47:51 +00:00
Johan Malm
29b9e3334d damage: render deco in output local coordinates 2021-01-10 13:00:30 +00:00
Johan Malm
54804fd3df Implement damage tracking 2021-01-09 22:51:20 +00:00
Johan Malm
c765b9883f seat: enable libinput tap 2020-12-30 11:09:36 +00:00
Johan Malm
375084c40c log: s/warn/info/ on missing config/theme files 2020-12-30 10:59:39 +00:00
Johan Malm
224e8db35c log: remove color 2020-12-30 10:53:48 +00:00
Johan Malm
529d7016f2 config: change default font size from 8 to 10 2020-12-30 10:44:57 +00:00
Johan Malm
cfc6e18cdc Make xwayland support optional 2020-12-30 10:29:21 +00:00
Johan Malm
cd9fe2900e keybind: use XKB_KEYSYM_CASE_INSENSITIVE 2020-12-29 19:02:04 +00:00
Johan Malm
1a38898f34 spawn: avoid zombie children without handling SIGCHLD
Current handling of SIGCHLD prevents some terminals, for example
sakura and alacritty, to freeze on ctrl+D.

Related to PR #10
2020-12-29 18:08:35 +00:00
Johan Malm
cb44f047f3 Add view_move() 2020-12-23 18:52:46 +00:00
Johan Malm
c646343c1d common/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD 2020-12-23 18:40:35 +00:00
Johan Malm
9c3159fddc xwayland: await configure before moving (issue #11) 2020-12-23 18:36:40 +00:00
Johan Malm
7c29bcb45e xdg-shell: await configure serial before moving (issue #11) 2020-12-22 21:08:17 +00:00
Johan Malm
e0770a5672 Refactor view_move_resize() 2020-12-22 20:35:06 +00:00
Johan Malm
57588aa173 server: handle SIGINT and SIGTERM 2020-12-21 18:56:46 +00:00
Johan Malm
f94c2add28 common/spawn.c: remove G_SPAWN_DO_NOT_REAP_CHILD 2020-12-21 18:54:01 +00:00
Johan Malm
ca24c215ee Use enum wl_keyboard_key_state
In support of wlroots commit 7693f61d (which is after v0.12)

s/WLR_KEY_RELEASED/WL_KEYBOARD_KEY_STATE_RELEASED/
s/WLR_KEY_PRESSED/WL_KEYBOARD_KEY_STATE_PRESSED/

This change is backwards compatible, albeit with some compiler warnings
2020-12-01 17:14:59 +00:00
Wenhua Zhao
071fcc68db Fix zombie children 2020-12-01 07:20:43 +00:00