Commit Graph

3437 Commits

Author SHA1 Message Date
Drew DeVault
9114d3b84c Implement tablet tool support 2018-04-08 10:48:13 -04:00
db
042b80b9fa Add workspace_auto_back_and_forth command
This is the only missing piece - other code regarding this functionality has
already been ported from pre-wlroots source.
2018-04-08 16:44:59 +02:00
Drew DeVault
4ba6545c65 Fixup for #1773 2018-04-08 10:04:23 -04:00
Drew DeVault
bd236b6587
Merge pull request #1773 from thejan2009/issue/swaybar-mouse
Use full ws->name in swaybar hotspot callback
2018-04-08 10:03:22 -04:00
db
257a831c72 Use full ws->name in swaybar hotspot callback
If strip_workspace_numbers option is enabled, we must preserve the right
workspace name for hotspot.
2018-04-08 15:48:59 +02:00
Drew DeVault
2e41804b54
Merge pull request #1772 from bpinto/feature/improve-dependency-check
Improve dependency check for libinput
2018-04-07 20:38:22 -04:00
Bruno Pinto
b24b319bdf
Improve dependency checks 2018-04-08 00:34:12 +01:00
Tony Crisci
9db859585e container_create_notify on split 2018-04-07 18:01:18 -04:00
Tony Crisci
0ff22c1755 implement ipc focus stack 2018-04-07 16:23:53 -04:00
Tony Crisci
de811823b6 seat focus inactive children foreach 2018-04-07 16:14:12 -04:00
Tony Crisci
c0f9ee7bd1 seat get focus inactive view 2018-04-07 16:06:36 -04:00
Drew DeVault
4b200869b2
Merge pull request #1767 from emersion/fix-dmenu
Give keyboard focus to unmanaged xwayland surfaces
2018-04-07 14:43:38 -04:00
emersion
2b357af7ee
Give keyboard focus to unmanaged xwayland surfaces
This fixes dmenu
2018-04-07 14:03:30 -04:00
emersion
a5d06b6e2b
Merge pull request #1766 from emersion/fix-output-container-position
Fix output containers position
2018-04-07 13:21:52 -04:00
Drew DeVault
5d34e4531f Add basic server decorations support 2018-04-07 13:21:07 -04:00
emersion
61abd56ca4
Fix output containers position 2018-04-07 12:44:02 -04:00
Drew DeVault
b12b848bdc
Merge pull request #1759 from emersion/output-send-frame-done
Don't send frame done immediately when rendering
2018-04-07 12:23:26 -04:00
Drew DeVault
a91a1a419c
Merge pull request #1765 from emersion/fix-bad-assert
Fix inverted assertion
2018-04-07 12:11:24 -04:00
emersion
8af0c2b000
Don't send frame done immediately when rendering 2018-04-07 12:10:50 -04:00
emersion
33b4f945ab
Fix inverted assertion
Seems like it doesn't work this way
2018-04-07 12:03:13 -04:00
Drew DeVault
c47b4d4edb
Merge pull request #1756 from emersion/output-damage
Fine-grained damage tracking
2018-04-07 11:53:10 -04:00
Drew DeVault
f5a9bd5cb7
Merge pull request #1700 from swaywm/move-cmd-full
Implement move [left|right|up|down]
2018-04-07 11:19:25 -04:00
Drew DeVault
2c9f0fb784
Merge pull request #1762 from DanySpin97/wlroots
Fix json-c version dependency
2018-04-07 09:47:28 -04:00
Danilo Spinella
5727b81128 Fix json-c version dependency 2018-04-07 11:08:39 +02:00
emersion
93ca8919f6
Don't rejigger if parent has two children 2018-04-06 18:10:02 -04:00
emersion
37b173f326
When moving between outputs, use output center as reference 2018-04-06 17:50:12 -04:00
Drew DeVault
606d322bc2 Container coordiantes/sizes are floating point 2018-04-06 16:19:06 -04:00
Drew DeVault
5c31b06d88
Merge pull request #1758 from swaywm/revert-1757-boooooooxes
Revert "Break everything^W^WUse wlr_box for sway_container"
2018-04-06 16:16:05 -04:00
Drew DeVault
640232eb22
Revert "Break everything^W^WUse wlr_box for sway_container" 2018-04-06 16:13:26 -04:00
emersion
0c627918bb
Damage all surfaces when damaging whole container 2018-04-06 15:59:50 -04:00
Drew DeVault
656ef558a2
Merge pull request #1757 from swaywm/boooooooxes
Break everything^W^WUse wlr_box for sway_container
2018-04-06 15:57:57 -04:00
Drew DeVault
df0d57b916 Fix issue with incorrectly rejiggered workspaces 2018-04-06 15:54:03 -04:00
Drew DeVault
764489e737 Break everything^W^WUse wlr_box for sway_container 2018-04-06 15:38:37 -04:00
Drew DeVault
9109b1fd11 Fix moving to parallel container on another output 2018-04-06 15:37:55 -04:00
Drew DeVault
5ff16994c5 Address @emersion feedback 2018-04-06 15:09:52 -04:00
emersion
58914822aa
Don't damage the whole output 2018-04-06 14:17:58 -04:00
Drew DeVault
c8be7bfc1e Fix another of @orestisf1993's issues 2018-04-06 13:57:04 -04:00
emersion
e550e22c0b
Refactor rendering code 2018-04-06 13:27:01 -04:00
Drew DeVault
1f70b94f34 Fix moving into right end of container 2018-04-06 13:17:22 -04:00
Drew DeVault
cd6e3182fa Fix issues @orestisf1993 raised 2018-04-06 12:46:33 -04:00
Drew DeVault
b5baa78dc3 Address @emersion's comments 2018-04-06 11:53:10 -04:00
Drew DeVault
603e0e42c5 Add debug tree view 2018-04-06 11:49:27 -04:00
emersion
516f5454ad
Simplify damage tracking functions, use them in layer shell 2018-04-06 11:45:40 -04:00
emersion
d447460c01
Merge pull request #1755 from emersion/view-child-hidpi
Send surface enter/leave events to view children
2018-04-06 11:43:55 -04:00
emersion
290c916290
Send surface enter/leave events to view children 2018-04-06 10:26:32 -04:00
Drew DeVault
a06052ad9d Fix splitting workspaces 2018-04-06 09:43:52 -04:00
Drew DeVault
efac07db5f Fix workspaces not updated on swaybar 2018-04-06 09:43:52 -04:00
Drew DeVault
57954a2b24 Implement move [left|right|up|down]
The exact semantics of this command are complicated. I'll describe each
test scenario as s-expressions. Everything assumes L_HORIZ if not
specified, but if you rotate everything 90 degrees the same test cases
hold.

```
(container (view a) (view b focus) (view c))
-> move left
(container (view b focus) (view a) (view c))

(container (view a) (view b focus) (view c))
-> move right
(container (view a) (view c) (view b focus))

(container L_VERT (view a))
(container L_HORIZ
  (view b) (view c focus))
-> move up
(container L_VERT
  (view a) (view c focus))
(container L_HORIZ (view b))

(workspace
  (view a) (view b focus) (view c))
-> move up
(workspace [split direction flipped]
  (view b focus)
  (container (view a) (view c)))

(workspace
  (view a) (view b focus) (view c))
-> move down
(workspace [split direction flipped]
  (container (view a) (view c))
  (view b focus)))

Note: outputs use wlr_output_layout instead of assuming that i+/-1 is
the next output in the move direction.

(root
  (output X11-1
    (workspace 1))
  (output X11-2
    (workspace 1 (view a focus) (view b)))))
-> move left
(root
  (output X11-1
    (workspace 1 (view a focus)))
  (output X11-2
    (workspace 1 (view b)))))

(root
  (output X11-1
    (workspace 1
      (container (view a) (view b)))
  (output X11-2
    (workspace 1 (view c focus)))))
-> move left
(root
  (output X11-1
    (workspace 1
      (container (view a) (view b))
      (view c focus)))
  (output X11-2
    (workspace 1)))
```
2018-04-06 09:43:52 -04:00
Drew DeVault
d77a0119f4 Avoid arranging windows while reloading config 2018-04-06 09:43:44 -04:00
Drew DeVault
cca420b2f8 Fix focus_follows_mouse issues 2018-04-06 09:32:51 -04:00