Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Layer shell #49

Merged
merged 44 commits into from
Dec 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
05df920
layer shell initial attempt
guidocella Aug 24, 2020
1e2dde6
improve naming
guidocella Aug 26, 2020
b35182f
render layer surfaces
guidocella Aug 26, 2020
e69c3d7
remove extra space
guidocella Aug 26, 2020
ce7bc81
rename functions too
guidocella Aug 26, 2020
e13d193
correct variable name
guidocella Aug 26, 2020
d61658b
update make clean
guidocella Aug 26, 2020
b8a6d3e
render in the same order as sway
guidocella Aug 27, 2020
c9f92bd
set a monitor geometry only when creating it
guidocella Aug 27, 2020
1473d03
remove comment
guidocella Aug 27, 2020
03c020f
reuse m->m
guidocella Aug 27, 2020
2c08d0b
Reuse render() and struct timespec *now
guidocella Aug 28, 2020
b237ea0
simplify make clean
guidocella Aug 28, 2020
ddd3c2a
order variables more how like they are initialized
guidocella Aug 29, 2020
3203d1b
don't handle failed calloc
guidocella Aug 29, 2020
5d4eade
remove blank line
guidocella Aug 29, 2020
d74d404
update README
guidocella Aug 29, 2020
b4d9a86
send pressed keys to topmost layer surface
guidocella Sep 3, 2020
4017a27
fix focus leave condition
guidocella Sep 3, 2020
b26ede4
more TODOs
guidocella Sep 3, 2020
d98ca07
enable pointer on layer surfaces
guidocella Sep 4, 2020
35b9366
reuse motionnotify()
guidocella Sep 4, 2020
5dc9460
simplify focus leave condition
guidocella Sep 4, 2020
4341dea
fix alhpabetical order
guidocella Sep 4, 2020
068352e
refocus old client
guidocella Sep 4, 2020
2d84c74
focus the previous client in the similar code too
guidocella Sep 4, 2020
8e81c90
remove mysterious code
guidocella Sep 4, 2020
9308a90
remove comment
guidocella Sep 4, 2020
7157252
improve code style
guidocella Sep 4, 2020
8de18f9
fix restoring pointer focus
guidocella Sep 4, 2020
ae798c6
Don't let overlays lose focus
guidocella Sep 4, 2020
8ee0200
use unsigned int for loop indexes
guidocella Sep 4, 2020
6b25e7e
simplify
guidocella Sep 5, 2020
9743778
rename variable and merge 2 lines
guidocella Sep 5, 2020
52a4d3a
use size_t for lengths
guidocella Sep 5, 2020
79f3bba
remove variable
guidocella Sep 6, 2020
6984787
fix multi monitors
guidocella Sep 8, 2020
68412d8
try to fix again
guidocella Sep 8, 2020
6225066
remove unneeded line
guidocella Sep 8, 2020
143dce0
fix multi monitors further
guidocella Sep 9, 2020
8f0ce67
simplify
guidocella Sep 10, 2020
fbd9051
fix multi monitors even more
guidocella Sep 11, 2020
e4d58c3
remove braces
guidocella Sep 11, 2020
0bb25a7
extract function and comment it
guidocella Sep 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,25 @@ xdg-shell-protocol.c:

xdg-shell-protocol.o: xdg-shell-protocol.h

wlr-layer-shell-unstable-v1-protocol.h:
$(WAYLAND_SCANNER) server-header \
protocols/wlr-layer-shell-unstable-v1.xml $@

wlr-layer-shell-unstable-v1-protocol.c:
$(WAYLAND_SCANNER) private-code \
protocols/wlr-layer-shell-unstable-v1.xml $@

wlr-layer-shell-unstable-v1-protocol.o: wlr-layer-shell-unstable-v1-protocol.h

config.h: | config.def.h
cp config.def.h $@

dwl.o: config.h xdg-shell-protocol.h
dwl.o: config.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h

dwl: xdg-shell-protocol.o
dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o

clean:
rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c
rm -f dwl *.o *-protocol.h *-protocol.c

.DEFAULT_GOAL=dwl
.PHONY: clean
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ dwl is a work in progress, and it has not yet reached its feature goals in a num
- XWayland support is new and could use testing
- Urgent/attention/focus-request ([not yet supported](https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/9) by xdg-shell protocol)
- Statusbar support (built-in or external)
- layer-shell
- Damage tracking
- Fullscreen/fixed windows (or whatever the Wayland analogues are)

Expand Down
Loading