Nicolas Cornu
382d47e238
Fix creating of sibling floating/children
...
If we want to add a sibling of different type than current
container it failed. Because we add it to the wrong list
8 years ago
Drew DeVault
7d823fbcae
Merge pull request #937 from alkino/fix_scale_factor
...
Add constant scale factor in get_text_size
8 years ago
Nicolas Cornu
2d82586c88
Add constant scale factor in get_text_size
...
af44154
forget one "get_text_size" made it possible to
do a format string by setting title bar.
8 years ago
Drew DeVault
02dc4142c0
Merge pull request #935 from thejan2009/wrap-focus-change
...
Wrap focus change
8 years ago
Drew DeVault
77433f0029
Merge pull request #936 from thejan2009/pango-numeric-char-ref
...
parse pango markup in workspace names (and bugfix)
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
D.B
379b1a0378
add focus changing between floating containers
...
It will also wrap if needed.
8 years ago
D.B
d3f5ac8cbb
add force_focus_wrapping option
8 years ago
D.B
7f558ce894
wrap container in direction (if possible)
...
Introduces container wrapping - if there is no other viable move, the
selection wraps on the first container where such action is possible.
8 years ago
Drew DeVault
fa119661e9
Merge pull request #934 from alkino/fix_click_title_bar
...
fix for click on title_bar
8 years ago
Nicolas Cornu
6ced4098dc
fix for click on title_bar
...
- Check null pointer for swayc_parent_by_type
- Split lines to follow coding style
8 years ago
Drew DeVault
6fb7d0e30c
Merge pull request #933 from alkino/click_title_bar
...
add click on title_bar to focus a container
8 years ago
Nicolas Cornu
37065cd0c4
add click on title_bar to focus a container
8 years ago
Drew DeVault
0fe2386014
Merge pull request #928 from wasamasa/bugfix-swaylock-font
...
Explicitly set cairo font to avoid wonky fallback
8 years ago
Vasilij Schneidermann
83103abde6
Explicitly set cairo font to avoid wonky fallback
...
See also https://github.com/i3/i3lock/pull/89
8 years ago
Drew DeVault
fade7329dc
Update CONTRIBUTING.md
...
Update release cycle to be a bit slower with RCs
8 years ago
Drew DeVault
d2aba3ce3a
Merge pull request #924 from zandrmartin/fix-focus-segfault
...
prevent dereference of freed workspace
8 years ago
Drew DeVault
0890d4ba96
Merge pull request #925 from zandrmartin/json-cleanup
...
consolidate nodes json
8 years ago
Zandr Martin
ba581c4442
consolidate nodes json
8 years ago
Zandr Martin
09a44263c3
Merge branch 'master' into fix-focus-segfault
8 years ago
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