Zandr Martin
4c0e809028
prevent dereference of freed workspace
8 years ago
Drew DeVault
04db58863e
Merge pull request #923 from gutsoo/master
...
moved ipc_init above config file processing.
8 years ago
Patrick Sauter
153620aefe
moved ipc_init above config file processing.
...
This is necessary because commands in the config file (mode for
instance) emit ipc events, and if ipc_init has not been called the
ipc_clients_list is not initialized, and we segfault. This fixes that
bug.
8 years ago
Drew DeVault
79d2b0dee4
Merge pull request #921 from zandrmartin/patch-3
...
fix pointer format string in sway_log() call
8 years ago
Zandr Martin
58ac1f7f24
fix pointer format string in sway_log() call
8 years ago
Drew DeVault
a4a5f62015
Merge pull request #920 from thejan2009/swaybar-scale
...
Correctly scale swaybar
8 years ago
D.B
fe89d7fba3
Correctly scale swaybar
...
Fixes #910 . There were some missing multiplications with window->scale.
8 years ago
Drew DeVault
4e660975a9
Merge pull request #911 from thejan2009/setgid-setuid
...
Split setgid and setuid, add privilege check [RFC]
8 years ago
Drew DeVault
a95ce5ce65
Merge pull request #914 from zandrmartin/container-ids
...
add unique IDs to containers
8 years ago
Drew DeVault
c55ce6ef3d
Merge pull request #915 from RyanDwyer/implement-workspace-number-default
...
Implement default name for workspace command
8 years ago
Ryan Dwyer
64d463142f
Implement default name for workspace command
...
This implements commands such as:
workspace number 9: test
If a workspace with the given number exists then it will be focused,
otherwise a new workspace with the given name will be created.
8 years ago
Zandr Martin
7d947fdb95
add unique IDs to containers
8 years ago
D.B
5e585f9603
Split setgid and setuid, add privilege check
...
This commit deals with issue #884 . I consulted the following sources:
https://www.securecoding.cert.org/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
and
https://www.securecoding.cert.org/confluence/display/c/POS37-C.+Ensure+that+privilege+relinquishment+is+successful
8 years ago
Drew DeVault
d98c26d0ed
Merge pull request #909 from zandrmartin/grab-focused
...
implement "focused container" option for swaygrab
8 years ago
Zandr Martin
0516dba3f6
implement "focused container" feature for swaygrab
8 years ago
Drew DeVault
043640820f
Merge pull request #907 from zandrmartin/fix-json-tree-focus-property
...
fix get_workspaces json reply
8 years ago
Zandr Martin
e75217cfb1
fix get_workspaces json reply
8 years ago
Drew DeVault
476274cfbb
Merge pull request #904 from zandrmartin/fix-json-tree-focus-property
...
fix view focus property in get_tree json
8 years ago
Zandr Martin
87080bb9cc
take four!
8 years ago
Drew DeVault
a7eeb48aac
Merge pull request #906 from zandrmartin/global-focus-pointer
...
add global `current_focus` pointer
8 years ago
Zandr Martin
e18b7cdfa9
add global `current_focus` pointer
8 years ago
Drew DeVault
75f82808e2
Merge pull request #903 from RyanDwyer/fix-swaybar-output
...
Fix swaybar when running on named outputs.
8 years ago
Ryan Dwyer
e4cb4d1b5c
Fix swaybar when running on named outputs.
...
When using a bar on a named output, load_swaybars() requires the
output to be active (ie. in the root container), but this is not the case if
the bar is added to the last output. To fix this, load_swaybars() is now
called after the output has been added to the root container.
After fixing that, swaybar would segfault due to using the wrong index
variable when loading outputs and config.
8 years ago
Drew DeVault
461e250e26
Merge pull request #902 from zandrmartin/patch-2
...
document `workspace_auto_back_and_forth` command
8 years ago
Zandr Martin
64f61873a9
document `workspace_auto_back_and_forth` command
8 years ago
Drew DeVault
953d6880c7
Merge pull request #896 from thejan2009/bugfix/swaybar-whitespace-in-ws-name
...
Put workspace name in quotes (swaybar ipc)
8 years ago
D.B
c239f228c2
swaybar sends workspace name in quotes
...
fixes #894
8 years ago
Drew DeVault
7c166e350b
Merge pull request #889 from thejan2009/bugfix/indicator_border
...
Use indicator border color only when needed.
8 years ago
D.B
873dfc07f3
Use indicator border color only when needed.
...
Indicator border color is now used only when a container is the only
child. Reason for the change? i3 does it this way. Sway container
borders are now a bit more similar to i3 ones.
8 years ago
Drew DeVault
40013029ea
Merge pull request #888 from zandrmartin/swaybar-pango-fix
...
fix pango markup on swaybar
8 years ago
Zandr Martin
70b3796071
fix pango markup on swaybar
8 years ago
Drew DeVault
1b4b42fc65
Merge pull request #885 from zandrmartin/commands-refactor
...
merge resize.c into commands/resize.c
8 years ago
Zandr Martin
511eed90cd
squash commits, move enum into resize.c
8 years ago
Drew DeVault
1510a21f00
Remove extraneous logging
8 years ago
Drew DeVault
67714de1fe
Remove HACKING.md
8 years ago
Drew DeVault
29e1582abb
Fix typo
8 years ago
Drew DeVault
1e9538e4b9
Merge pull request #882 from SirCmpwn/move-views-between-outputs
...
Move views between outputs
8 years ago
Mikkel Oscar Lyderik
84d504ebdf
Make it possible to move views between outputs
...
This patch makes it possible to move views between outputs using the
`move left|right|up|down` commands.
It behaves similar to i3 with one important difference. The focus will
always follow the view being moved, unlike i3 where the focus doesn't
always follow the view to a new output (I assume that's a bug in i3).
8 years ago
Drew DeVault
dbb7191222
More small cleanup
8 years ago
Drew DeVault
a89105e62d
Minor cleanup on CONTRIBUTING.md
8 years ago
Drew DeVault
d515ab0004
Document release cycle in CONTRIBUTING.md
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
0913eff915
Add support for * input configs
...
Closes #852
8 years ago
Drew DeVault
29820ff826
Merge pull request #879 from zandrmartin/commands-refactor
...
refactor commands.c
8 years ago
Zandr Martin
65ace5dec5
merge in latest commits
8 years ago
Zandr Martin
79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
8 years ago
Zandr Martin
b374c35758
refactor commands.c
8 years ago
Drew DeVault
4e6d7b1258
Merge pull request #878 from lukaslihotzki/master
...
Correct `hide_edge_borders` command
8 years ago