Drew DeVault
3bb880bf20
Implement configurable wrapping on bar ws scroll
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
8be4ae70e7
Merge pull request #757 from siddharthist/master
...
readme: add nixos package
8 years ago
Drew DeVault
a655cb8751
Merge pull request #756 from Hummer12007/patch-1
...
Fix a memory leak
8 years ago
Langston Barrett
4442f79af8
readme: add nixos package
8 years ago
Hummer12007
cf7c6c5822
Fix a memory leak
8 years ago
Drew DeVault
d5ad8c9036
Merge pull request #754 from thejan2009/containers-inside-tabbed-stacked
...
Clarify which tabbed/stacked container we want (fixes #751 )
8 years ago
D.B
ad7605675e
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
8 years ago
Drew DeVault
7aeedf0264
Fix warning in window.c
8 years ago
Drew DeVault
147a88260a
Fix #753
8 years ago
Drew DeVault
e66f813d49
Merge pull request #752 from deklov/bar-scroll-02
...
Change workspace with mouse wheel
8 years ago
David Eklov
e38d6b94b8
Change workspace when mouse wheel is scrolled while hovering over the bar
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
Drew DeVault
a11277c88f
Fix warning from unused daemon return value
8 years ago
Drew DeVault
6abbe04e75
Merge pull request #743 from deklov/panel-as-shell-03
...
Set panels/backgrounds' geometries correctly and don't render them ex…
8 years ago
David Eklov
8a232c8cfd
Send command to sway to change workspace when workspace button is clicked
8 years ago
David Eklov
a0c8799c80
Compute what workspace button is clicked
...
This commit does not do anything with this information other than logging it.
8 years ago
David Eklov
679c7b397c
Use int instead of wl_fixed_t for mouse coordinates
8 years ago
David Eklov
c805e42635
Extract workspace size computation from render_workspace_button()
...
Also remove some unnecessary strtup()s and rename a few variables and functions.
8 years ago
David Eklov
103954dd2b
Setup to receive mouse click events and log them
8 years ago
David Eklov
5c4f52f953
Set panels' geometries correctly and don't render them explicitly
...
Panels were explicitly rendered by calling wlc_surface_render in
handle_output_pre_render. Calling wlc_surface_render does not set the
surface's geometry (like wlc_view_set_geometry does). Sway did not call
wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at
the origin. This is not correct for bars unless their location is top.
Furthermore, for a surface to receive pointer events, its mask has to be
set to visible. This causes wlc to render these surfaces, causing panels
and backgrounds to be rendered twice.
This commit makes panels and surfaces visible, sets the correct geometries
and removes the code that explicitly rendered them.
8 years ago
David Eklov
4bb45abc46
Don't treat backgrounds as shell surfaces
...
This code had some issues. Remove it now so that we can start clean and fix
it later.
8 years ago
David Eklov
6d94f77457
Revert "swaybg: Make swaybg a shell surface"
...
This reverts commit 99bda4afe2
.
It turned out that code to handle swaybg as shell surface was broken so we don't
want to make swaybg a shell surface until this has been fixed.
8 years ago
Drew DeVault
1e95191900
Merge pull request #726 from Hummer12007/hwc
...
Spawn new views to target ws's focused container
8 years ago
Mykyta Holubakha
c503bf1342
Suspend destruction of wss when creating views
8 years ago
Mykyta Holubakha
a2bb280172
Spawn new views to target ws's focused container
8 years ago
Drew DeVault
136387144c
Merge pull request #750 from deklov/sway-lock-01
...
swaylock: Add -f option to detach from the controlling terminal, fixe…
8 years ago
David Eklov
ea0a93c5c4
swaylock: Add -f option to detach from the controlling terminal, fixes #725
8 years ago
Drew DeVault
dff1e7f91b
Merge pull request #749 from Hummer12007/patch-2
...
Enable using non-annotated tags in git-describe
8 years ago
Hummer12007
8fc9f503f9
Enable using non-annotated tags in git-describe
...
This fixes the version string
8 years ago
Drew DeVault
614aa28a7b
Merge pull request #747 from deklov/clang-format-01
...
clang-format configuration for Sway's style as detailed in CONTRIBUTI…
8 years ago
Drew DeVault
e0e5d4a37e
Merge pull request #748 from Hummer12007/x86fix
...
Fix build on x86
8 years ago
Mykyta Holubakha
ea7917784d
Fix build on x86
8 years ago
David Eklov
6fb985b767
clang-format configuration for Sway's style as detailed in CONTRIBUTING.md
...
CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The
kernel uses a column limit of 80 characters. The de facto syle in Sway is to
allow for wider lines so this format file does not enforce an 80 column limit.
8 years ago
Drew DeVault
0374154749
Merge pull request #744 from thejan2009/tabbed-stacked-layout-fixes
...
Fix tabbed/stacked corner case #742
9 years ago
D.B
ee67cd0ba1
Fix tabbed/stacked corner case #742
...
Tabbed/stacked containers are now created only if a view is present on
the workspace. If a view is created on previously empty tabbed/stacked
workspace, it gets wrapped in a container.
9 years ago
Drew DeVault
378149b59c
Merge pull request #739 from deklov/swaybar-pointer-01
...
Enable windows to register to get notified of pointer button events
9 years ago
David Eklov
b9d8cbabdd
Fix formatting guide violations (spaces instead of tabs)
9 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
Drew DeVault
840b0c1bcd
Merge pull request #740 from zandrmartin/json-fixes
...
get_tree json fixes
9 years ago
Zandr Martin
c65d6e6e95
get_tree json fixes
...
- null pointer check against container names
- use actual json null values instead of "null" strings
- add "visible" property to all containers
9 years ago
Drew DeVault
58804a044f
Merge pull request #738 from deklov/panel-as-shell-02
...
Make swaybar and swaybg shell surfaces, take 2
9 years ago
David Eklov
d9bcea381a
Fix formatting guide violations (spaces instead of tabs)
9 years ago
David Eklov
99bda4afe2
swaybg: Make swaybg a shell surface
9 years ago
David Eklov
d3752b4140
swaybar: Make swaybar a shell surface
9 years ago
David Eklov
bb35960e65
Move code to make a window a shell surface into seperate function
9 years ago
David Eklov
51204b33c1
Enable backgrounds and panels to be shell surfaces
...
Prior to this commit all windows (e.g. shell surfaces) were handled the same
way in handle_view_created. Since backgrounds and panels have to be treated
differently, they could not be shell surfaces. This changes checks whether
a client is a background or a panel in handle_view_created and exists to
let them be dealt with elsewhere.
9 years ago
Drew DeVault
c3373c6815
Merge pull request #737 from zandrmartin/fix-bar-on-reload
...
I think this fixes #678
9 years ago