aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-10-16view: rewarp cursor during view_unmapRouven Czerwinski-1/+10
If the cursor is warped during the destruction of the workspace, we end up in the wrong position. Warp the cursor after arrange_workspace() so we end up in the correct position.
2018-10-16seat: use new warping functions for cursor warping during focus warpRouven Czerwinski-18/+9
2018-10-16cursor: functions to warp cursor to container and workspaceRouven Czerwinski-1/+47
The new functions allow a cursor to be warped without changing the focus. This is a preparation commit to handle cursor warping not only in seat_set_focus_warp.
2018-10-16view: move arrange_workspace into view_mapRouven Czerwinski-48/+36
For mouse_warping cursor to correctly work on newly spawned containers, the workspace needs to be arranged before the cursor is warped. The shell functions each implement their own fullscreen and arrange checks, move them into the view_map function and pass their states via boolean arguments. Fixes #2819
2018-10-10Merge pull request #2817 from trmendes/libinput-disable-touchscreen-supportemersion-0/+26
Add libinput send_events config for touch
2018-10-10Add libinput send_events config for touchThiago Mendes-0/+26
2018-10-10Merge pull request #2806 from v-gu/add-libinput-support-for-keyboardDrew DeVault-0/+26
add libinput config for keyboard
2018-10-10Merge pull request #2798 from RedSoxFan/bar-bindsymDrew DeVault-2/+182
Implement bar bindsym
2018-10-10Merge branch 'master' into bar-bindsymIan Fan-37/+63
2018-10-10Merge pull request #2814 from Emantor/mouse-warping-containerDrew DeVault-9/+22
Add mouse_warping container
2018-10-10Merge branch 'master' into mouse-warping-containerRyan Dwyer-9/+17
2018-10-10Merge pull request #2811 from RyanDwyer/fix-floating-click-eventsDrew DeVault-9/+17
Fix floating click events
2018-10-10Add mouse_warping containerRouven Czerwinski-9/+22
This option always moves the cursor into the middle of the container if the warp variable is true in seat_set_focus_warp. Fixes #2577
2018-10-10Merge pull request #2812 from RyanDwyer/fix-version-messagesemersion-2/+2
Fix program name in version strings
2018-10-10Fix program name in version stringsRyan Dwyer-2/+2
When running swaymsg -v, the version returned is actually the version of swaymsg itself, yet the message displayed was "sway version <version>". This can create confusion if users update sway and swaymsg but don't restart sway, then use swaymsg to check the version. This patch changes the wording to be "swaymsg version <version>" instead, and likewise for swaybar. To get the version of a running sway instance, users should run swaymsg -t get_version.
2018-10-10Fix floating click eventsRyan Dwyer-9/+17
* Set focus to a floating container when clicking its title bar. * Raise floating when user clicks title bar or decorations (in the seat_begin functions). * In container_at, it only returned a floating container if the user had clicked the surface. This makes it use floating_container_at instead.
2018-10-10Merge pull request #2810 from RyanDwyer/fix-docs-backandforthDrew DeVault-1/+1
Fix back_and_forth documentation
2018-10-10Fix back_and_forth documentationRyan Dwyer-1/+1
2018-10-10Merge pull request #2809 from mwenzkowski/fix-view_autoconfigureDrew DeVault-2/+2
Fix undesirable height change of floating views
2018-10-09Fix undesirable height change of floating viewsmwenzkowski-2/+2
In view_autoconfigure the height of the view is adjusted if the parent container has a tabbed/stacked layout. Previously this height change would also be applied to floating views, although it is not needed for them.
2018-10-09add libinput config for keyboardVincent Gu-0/+26
add send_events support
2018-10-09Merge pull request #2805 from RyanDwyer/fix-resize-return-valueDrew DeVault-13/+15
resize: Determine if anything changed using before/after check
2018-10-09Merge pull request #2803 from RedSoxFan/fix-2802Drew DeVault-1/+4
Only consider tiling views for gaps outer
2018-10-09resize: Determine if anything changed using before/after checkRyan Dwyer-13/+15
Returning a boolean from container_resize_tiled and resize_tiled doesn't work in all cases. This patch changes it back to void and does a before/after check to see if the container was resized.
2018-10-09bar-bindsym: address ianyfan's commentsBrian Ashworth-18/+28
2018-10-09Implement bar bindsymBrian Ashworth-2/+172
2018-10-09Merge pull request #2804 from Emantor/swaynag-double-freeDrew DeVault-2/+0
config: remove double free of config->swaynag_command
2018-10-09config: remove double free of config->swaynag_commandRouven Czerwinski-2/+0
Fixes #2796
2018-10-08Only consider tiling views for gaps outerBrian Ashworth-1/+4
2018-10-09Merge pull request #2772 from RyanDwyer/improve-popup-damageDrew DeVault-9/+80
Only damage popups when popups have damage
2018-10-08Merge pull request #2782 from RyanDwyer/popup-during-fullscreenBrian Ashworth-2/+160
Implement popup_during_fullscreen
2018-10-08Merge branch 'master' into popup-during-fullscreenBrian Ashworth-21/+57
2018-10-08Merge pull request #2799 from ianyfan/commandsemersion-0/+3
commands: when setting urgency, check container is not null
2018-10-08commands: when setting urgency, check container is not nullIan Fan-0/+3
2018-10-08Merge pull request #2795 from RedSoxFan/swaynag-disableemersion-6/+23
Allow swaynag to be disabled
2018-10-08Allow swaynag to be disabledBrian Ashworth-6/+23
2018-10-08Merge pull request #2793 from emersion/disable-swaybgemersion-15/+27
Allow swaybg to be disabled
2018-10-08Remove duplicate codeRyan Dwyer-33/+10
2018-10-08Merge pull request #2794 from johnae/fix-opacity-crashing-bugemersion-0/+4
Check if there is a current container before setting its opacity
2018-10-08Look for any ancestor when checking for fullscreen exitRyan Dwyer-15/+12
2018-10-08Use current state when rendering transient containersRyan Dwyer-2/+3
2018-10-08Fix memory leak in status_command handleremersion-0/+2
2018-10-08Check if there is a current container before setting it's opacityJohn Axel Eriksson-0/+4
2018-10-08Allow swaybg to be disabledemersion-15/+25
Same as #2791 but for swaybg. Fixes #2790
2018-10-08Introduce container_is_transient_forRyan Dwyer-37/+30
2018-10-08Implement popup_during_fullscreenRyan Dwyer-2/+192
This introduces a new view_impl function: is_transient_for. Similar to container_has_ancestor but works using the surface parents rather than the tree. This patch modifies view_is_visible, container_at and so on to allow transient views to function normally when they're in front of a fullscreen view.
2018-10-08Merge pull request #2791 from RyanDwyer/status-command-optionalDrew DeVault-17/+31
swaybar: allow null status_command
2018-10-08Allow status_command to be disabled via IPCRyan Dwyer-10/+23
2018-10-08Add example status_command to default configRyan Dwyer-0/+5
2018-10-08swaybar: allow null status_commandRyan Dwyer-7/+3
Sway sets a default status_command which runs date every second. This patch removes this behaviour so the user can have a NULL status bar if desired. I had to swap swaybar's event_loop_poll and wl_display_flush so that it would map the initial surface.