Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
barfoo1
dc6942d10d
minor logic error
8 years ago
Greg V
da26d69cb1
Fix build on FreeBSD
...
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf
- Add forgotten json-c include path to swaymsg/CMakeLists.txt
- Disable -Werror because of assert warnings
- Add correct /proc/pid/file path for FreeBSD
- Use libepoll-shim on FreeBSD
- Only use Linux capabilities on, well, Linux
8 years ago
Drew DeVault
cd5694fdb5
Fix memory leaks in swaybar
8 years ago
D.B
6f2c39610e
parse pango markup in workspace names (and bugfix)
...
This change allows using numeric character references in workspace names
- for example æ which stands for sharp s. A fix was necessary in
get_pango_layout, since markup and parsed markup had different width.
8 years ago
Zandr Martin
70b3796071
fix pango markup on swaybar
8 years ago
Drew DeVault
1510a21f00
Remove extraneous logging
8 years ago
Drew DeVault
af44154119
Fix constant scale factor in font code
8 years ago
Drew DeVault
b2226ac655
Add client support for HiDPI
...
This adds HiDPI support to swaybar, swaybg, and swaylock.
8 years ago
Drew DeVault
61184e3208
Initial testing on hidpi clients
8 years ago
Drew DeVault
a9767ad2f7
Allow users to customize the cursor on clients
...
This also sets the default size to 16 and documents all of the other
environment variables in use in sway(1).
8 years ago
Drew DeVault
7aeedf0264
Fix warning in window.c
8 years ago
Drew DeVault
147a88260a
Fix #753
8 years ago
David Eklov
c0b7610c26
Enable windows to register to get notified when the mouse wheel is scrolled
8 years ago
David Eklov
250ddc66c6
Rename pointer_input::notify to indicate that is called on button clicks
8 years ago
David Eklov
679c7b397c
Use int instead of wl_fixed_t for mouse coordinates
8 years ago
David Eklov
c8a64305fd
Enable windows to register to get notified of pointer button events
9 years ago
David Eklov
9889b14511
Check capabilities before using pointer and keyboard
9 years ago
David Eklov
bb35960e65
Move code to make a window a shell surface into seperate function
9 years ago
Sergi Granell
6063fed8b7
wayland/registry.c: free() registry at registry_teardown
9 years ago
Tomáš Čech
bcdeb72189
Explicitly mark static linking in CMake
...
When no type is given, it depends on BUILD_SHARED_LIBS value which is
not desired in this case.
9 years ago
Tomáš Čech
468ddfb34d
Fix missing include paths
...
When headers were installed in more sofisticated places (but package
config knows it right), it revealed missing paths in CMake
configuration. Lets fix it.
9 years ago
Drew DeVault
84fae94ab9
Flesh out pango markup implementation
9 years ago
Drew DeVault
2a0836e3bd
Add support for pango markup
9 years ago
Mikkel Oscar Lyderik
cefcce48aa
Make client/pango.h not depend on client/window.h
9 years ago
Drew DeVault
baa958eaf2
Remove pointer from swaylock surface
9 years ago
Christoph Gysin
a5345e807e
extract cairo_set_source_u32()
9 years ago
progandy
21014e606b
make gdk-pixbuf dependency really optional
9 years ago
Nicolas Werner
8fae31e96c
fix segfault when doesn't have a trailing '/'
9 years ago
Drew DeVault
34277207fd
Pass keys along from wayland backend to clients
9 years ago
Drew DeVault
182a6dc8fb
Fix build issue
9 years ago
Drew DeVault
029e0c7a2c
Add some more keyboard handling for wayland clients
9 years ago
Drew DeVault
a7710c5537
Initialize keyboard in registry poll
9 years ago
Drew DeVault
7614cb0373
Add keyboard handling shims to registry
9 years ago
Drew DeVault
067ac6cfa7
Discover swaylock extension in registry
9 years ago
Drew DeVault
080a263785
Refactor gdk pixbuf code into shared client lib
9 years ago
Drew DeVault
e39f846247
Free outputs on registry teardown
9 years ago
Christoph Gysin
76920d2759
remove archive from git, add *.a to gitignore
9 years ago
Drew DeVault
71afa38890
Add swaylock protocol, add resource destructors
...
This prevents sway crashing if swaybg or swaybar dies.
9 years ago
Christoph Gysin
cce9c338c0
cmake: build common code only once
...
This creates (static) libraries for protocols/, common/, and wayland/.
9 years ago
Drew DeVault
82d464bb90
Add text rendering support to wayland clients
9 years ago
Drew DeVault
5728307520
Add wallpapers to output command
9 years ago
Drew DeVault
b4e5e1381f
Refactor the crap out of wayland clients
...
And create a background surface on every output when invoking swaybg.
9 years ago
Drew DeVault
82db2a57a9
Basic support for extensions in server and clients
9 years ago
Drew DeVault
fb0bfa13ce
Fix warning about uninitialized variable
9 years ago
Drew DeVault
2f01a3265d
Exit if unable to allocate buffer
9 years ago
Drew DeVault
7a40eb6de6
Support cursors over wayland clients
...
Apparently wayland has fucking client-side cursors, too
9 years ago
Drew DeVault
929537c158
Generate protocol headers
9 years ago
Drew DeVault
86372d00db
Fix SIGBUS from wayland clients
9 years ago
Drew DeVault
665d4baaf1
Normalize indentation
9 years ago