Jasper St. Pierre
78657dafca
window-wayland: Clean up a bit
2014-04-28 16:11:09 -04:00
Jasper St. Pierre
0f47eae33a
window-wayland: Split an if statement in two
2014-04-28 16:11:09 -04:00
Jasper St. Pierre
eb1c9175f9
wayland: Move the RESULT_RESIZED code to the proper place
...
We need to set this when we update window->rect, not when we simply
send out a configure event.
2014-04-16 16:31:45 -04:00
Jasper St. Pierre
f25243e121
wayland: Don't move the window when we're simply sending out a configure
...
If we're sending out a configure event, we can't immediately move the
window; we need to instead wait to apply the new position when the
client sends a new buffer.
2014-04-16 16:31:45 -04:00
Jasper St. Pierre
c1f4352683
window: Add proper interpretation of dx/dy
...
dx/dy should be against the regular window's rect, and need to
be ignored when we're resizing. Instead, we use gravity to anchor
the window's new rectangle when resizing.
2014-04-16 16:31:45 -04:00
Jasper St. Pierre
260b6d02f2
wayland: Simplify the move/resize code
...
The old protocol is out of date and broken for resizing at the
top/left. This is still as broken, but a lot simpler.
2014-04-16 16:31:45 -04:00
Jasper St. Pierre
ef65848d11
window-wayland: Implement kill
2014-03-25 12:05:21 -04:00
Jasper St. Pierre
0808adefaf
Move focus to be a vfunc
2014-03-20 15:20:15 -04:00
Jasper St. Pierre
14f424cd02
Move ping to be a vfunc
2014-03-20 15:20:15 -04:00
Jasper St. Pierre
9debd2fb0d
Move delete / kill to be a vfunc
2014-03-20 15:07:44 -04:00
Jasper St. Pierre
a53e094fcd
window: Move move_resize_internal logic to protocol-specific directories
2014-03-20 11:02:50 -04:00
Jasper St. Pierre
a377a1a110
window: Move client-type-specific managing / unmanaging to a vfunc
2014-03-20 10:51:32 -04:00
Jasper St. Pierre
1c41f71eef
window: Add a type for Wayland windows
2014-03-20 10:50:27 -04:00