mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
Handle alt + cursor button outside view
This commit is contained in:
parent
2b9c6a503c
commit
0eac290d54
1 changed files with 4 additions and 0 deletions
|
|
@ -275,6 +275,10 @@ static void
|
||||||
handle_cursor_button_with_meta_key(struct view *view, uint32_t button,
|
handle_cursor_button_with_meta_key(struct view *view, uint32_t button,
|
||||||
double lx, double ly)
|
double lx, double ly)
|
||||||
{
|
{
|
||||||
|
if (!view) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* move */
|
/* move */
|
||||||
if (button == BTN_LEFT) {
|
if (button == BTN_LEFT) {
|
||||||
interactive_begin(view, LAB_INPUT_STATE_MOVE, 0);
|
interactive_begin(view, LAB_INPUT_STATE_MOVE, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue