X11: Support keyboard-initiated move and resize operations

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 12 January 2014 21:25 EST

The EWMH defines _NET_WM_MOVERESIZE_SIZE_KEYBOARD and _NET_WM_MOVERESIZE_MOVE_KEYBOARD for operations that are not initiated by a button-press event. Allow using these by passing a button of 0 to gdk_window_begin_move/resize_drag.

7125cdc X11: Support keyboard-initiated move and resize operations
gdk/gdkwindow.c | 8 ++---
gdk/x11/gdkwindow-x11.c | 91 ++++++++++++++++++++++++++---------------------
2 files changed, 54 insertions(+), 45 deletions(-)

Upstream: git.gnome.org


  • Share