aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-11Update criteria documentationRyan Dwyer
2018-05-11Don't unescape \\ in criteriaRyan Dwyer
2018-05-11Overhaul criteria implementationRyan Dwyer
The criteria struct now uses properties for each token type rather than the list_t list of tokens. The reason for this is that different token types have different data types: pcre, string and number to name a few. This solution should be more flexible moving forward. A bonus of this is that criteria is now easier to understand when looking at the struct definition. The criteria parser has been rewritten because the previous one didn't support valueless pairs (eg. [class="foo" floating]). Criteria now has types. Types at the moment are CT_COMMAND, CT_ASSIGN_WORKSPACE and CT_ASSIGN_OUTPUT. i3 uses types as well. Previously the assign command was creating a criteria with 'move to workspace <name>' as its command, but this caused the window to appear briefly on the focused workspace before being moved to the assigned workspace. It now creates the view directly in the assigned workspace. Each view will only execute a given criteria once. This is achieved by storing a list of executed criteria in the view. This is the same strategy used by i3. Escaping now works properly. Previously you could do things like [class="Fire\"fox"] and the stored value would be 'Fire\"fox', but it should be (and now is) 'Fire"fox'. The public functions in criteria.c are now all prefixed with criteria_. Xwayland views now listen to the set_title, set_class and set_window_type events and criteria will be run when these happen. XDG shell has none of these events so it continues to update the title in handle_commit. Each view type's get_prop function has been split into get_string_prop and get_int_prop because some properties like the X11 window ID and window type are numeric. The following new criteria tokens are now supported: * id (X11 window ID) * instance * tiling * workspace
2018-05-10Merge pull request #1948 from RyanDwyer/focus-parent-borderDrew DeVault
Highlight all child borders when using focus parent
2018-05-11Highlight all child borders when using focus parentRyan Dwyer
2018-05-10Merge pull request #1923 from emersion/full-damage-trackingDrew DeVault
Implement full damage tracking
2018-05-10Fix damage tracking on HiDPIemersion
2018-05-10Accumulate surface damage even if whole=trueemersion
2018-05-10Damage container when updating titleemersion
2018-05-10Damage container on focusemersion
2018-05-10Damage borders when damaging viewemersion
2018-05-10Render borders with damageemersion
2018-05-10Implement full damage trackingemersion
2018-05-10Merge pull request #1932 from emersion/fix-layer-shell-exclusiveDrew DeVault
layer-shell: use usable_area when arranging non-exclusive layer surfaces
2018-05-10Merge pull request #1950 from RyanDwyer/fix-font-height-reloademersion
Use reasonable default for font height
2018-05-10Use reasonable default for font heightRyan Dwyer
Fixes #1949
2018-05-10layer-shell: use usable_area when arranging non-exclusive layer surfacesemersion
2018-05-09Merge pull request #1947 from dlrobertson/fix_null_derefemersion
Fix null deref in server_init
2018-05-09Fix null deref in server_initDan Robertson
If the backend fails to be created, log an error and immidiately return from server_init.
2018-05-09Merge pull request #1945 from RyanDwyer/fix-title-scissorDrew DeVault
Fix titles on rotated outputs
2018-05-09Merge branch 'master' into fix-title-scissorDrew DeVault
2018-05-09Merge pull request #1944 from RyanDwyer/swaybar-respect-pangoDrew DeVault
Swaybar: Respect pango_markup config
2018-05-09Fix titles on rotated outputsRyan Dwyer
If the output is rotated, the scissor box needs to be transformed in the opposite rotation.
2018-05-09Swaybar: Respect pango_markup configRyan Dwyer
Makes swaybar respect the user's pango_markup configuration in the workspace buttons and binding mode indicator.
2018-05-08Merge pull request #1942 from VincentVanlaer/xwayland-lazyemersion
Update xwayland start for new API
2018-05-07Merge pull request #1933 from emersion/swaybg-asser-side-effectsDrew DeVault
swaybg: remove assertions with side-effects
2018-05-07Merge pull request #1934 from emersion/update-layer-shellemersion
Update layer-shell protocol
2018-05-07Update layer-shell protocolemersion
2018-05-07swaybg: remove assertions with side-effectsemersion
2018-05-07Update xwayland start for new APIVincent Vanlaer
https://github.com/swaywm/wlroots/pull/959
2018-05-06Merge pull request #1920 from yorickvP/masterDrew DeVault
meson.build: Try looking for `pam` when `libpam` isn't found.
2018-05-06meson.build: Look for '-lpam', not '-llibpam'.Yorick van Pelt
See #1920 for more information.
2018-05-05Merge pull request #1927 from atomnuker/revert-libexecDrew DeVault
Revert PR #1881
2018-05-06Revert "Install swaybar and swaybg under /usr/lib/sway"Rostislav Pehlivanov
This reverts commit f2c209c299889ad965ac995049704b1c46176c6d.
2018-05-06Revert "exec_always: Search for executables in /usr/lib/sway"Rostislav Pehlivanov
This reverts commit 7709340727fe2834f87b43aeeaef878694d5acd6.
2018-05-06Revert "Make the LIBDIR path configurable"Rostislav Pehlivanov
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
2018-05-06Revert "Meson: Replace option `instlibdir` with `libexecdir`"Rostislav Pehlivanov
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
2018-05-06Revert "command/exec_always: Use wlr_log for logging errors in the child ↵Rostislav Pehlivanov
process" This reverts commit 177c67e6b89404d9d477b82c00c1353cd4696096.
2018-05-06Revert "security.d: Update install paths for swaybar and swaybg"Rostislav Pehlivanov
This reverts commit b4249166f309a46c15dd3a5734594aee961b723b.
2018-05-05Merge pull request #1917 from RyanDwyer/pango-markupemersion
Implement pango support
2018-05-06Implement pango supportRyan Dwyer
Implements support for the pango: prefix in the font command. Closes #1903.
2018-05-05Merge pull request #1926 from RyanDwyer/fix-setenv-pathemersion
Fix PATH setenv() in exec_always
2018-05-06Fix PATH setenv() in exec_alwaysRyan Dwyer
2018-05-05Merge pull request #1881 from nbraud/usr-libemersion
Install swaybar and swaybg under /usr/lib/sway
2018-05-05Merge branch 'master' into usr-libemersion
2018-05-05Merge pull request #1924 from nbraud/spellingDrew DeVault
swaymsg: Fix spelling in error message
2018-05-05Merge branch 'master' into spellingNicolas Braud-Santoni
2018-05-05swaymsg: Fix spelling in error messageNicolas Braud-Santoni
2018-05-05security.d: Update install paths for swaybar and swaybgNicolas Braud-Santoni
2018-05-05command/exec_always: Use wlr_log for logging errors in the child processNicolas Braud-Santoni