aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
AgeCommit message (Collapse)Author
2018-09-27rootston: remove broken rotated pointer constraint handlingemersion
2018-09-27pointer-constraints: refactoringemersion
* Rename the constraint_create signal to new_constraint for consistency * Move the constraint_destroy signal to the constraint itself * Use rotate_child_position instead of duplicating logic * Fix inert constraint resource handling * Style fixes
2018-09-18Fix implicit conversion of floats to ints in calls to ↵Las
pixman_region32_contains_point I do not think the conversion is specifically defined, but on my system and SirCmpwn's the floats are rounded instead of floored, which is incorrect in this case, since for a range from 0 to 256, any value greater or equal to 0 and less than 256 is valid. I.e. [0;256[, or 0 <= x < 256, but if x is e.g. -0.1, then it will be rounded to 0, which is invalid. The correct behavior would be to floor to -1.
2018-09-18Implement pointer-constraints protocol in wlroots and rootstonLas
2018-09-18Remove extraneous indentation and conform to coding styleLas
2018-09-18Update pointer focus when cycling focusLas
2018-09-18Make roots_cursor::pointer_view available even if there is a surfaceLas
To find out whether there was a surface or not before a movement, the member roots_cursor::wlr_surface has been added.
2018-09-14layer-shell: add _v1 suffixemersion
2018-07-29rootston: focus newly-created surfacesIlia Bozhinov
Whenever a new surface is created, we have to update the cursor focus, even if there's no input event. So, we generate one motion event, and reuse the code to update the proper cursor focus. We need to do this for all surface roles - toplevels, popups, subsurfaces. Fixes #1162
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-07-04surface: make pending and current embedded structsemersion
2018-05-24rootston: Keep focus unchanged when non-focusable element clickedDorota Czaplejewicz
Before this change, a view would lose focus after clicking something that's not keyboard-interactive. This would lead to edge cases with layer-shell windows like input methods, which are pointer-only-interactive, but are not intended to change the state of any focus.
2018-05-12Send axis source eventemersion
2018-05-12Add support for discrete axis valuesemersion
2018-04-28cursor: use NAN for unspecified axes, refactor absolute warping codeemersion
2018-04-03Implement input inhibit in rootstonDrew DeVault
2018-04-03Fix segfault when clicking rootston desktopDrew DeVault
2018-04-02Add wlr_surface_is_*_surfaceDrew DeVault
And wlr_*_surface_from_wlr_surface
2018-04-02Handle layer surfaces below shell surfacesDrew DeVault
2018-03-30Address review feedbackDrew DeVault
2018-03-30Refactor cursor event passhtroughDrew DeVault
2018-03-30xwayland: rename map_notify to map for consistencyemersion
2018-03-28Remove width_mm from tablet eventsDrew DeVault
2018-03-28Remove width_mm from wlr_touch eventsDrew DeVault
2018-03-28Remove width_mm from wlr_pointer eventsDrew DeVault
2018-03-18rootston rotation: change view->rotation signDominique Martinet
The convetion with wlr_matrix changed and it's a good time to remove all these pesky minus signs
2018-02-12Reformat all #include directivesemersion
2018-02-09Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-06Refactor roots_cursor_press_buttonVincent Vanlaer
Removed the button_count check when resizing/moving/rotating ends, since all buttons presses are now properly tracked.
2018-02-06Update seat pointer on meta move/resize/rotateVincent Vanlaer
This will send the button pressed event to the client. This shouldn't be a problem since sebsequent pointer movements are not sent to the client. Thus the client will not for example start selecting text when it is being resized using the compositor keybindigns.
2018-02-06Always notify seat on button pressVincent Vanlaer
When the cursor is not over a view, wlr_seat_pointer_notify_button is not called. However, this function does the bookkeeping of the pointer state with regards to the number of pressed buttons. Because this function also sends updates to the focused view, it has been moved down, after the focus has been updated.
2018-01-27rootston: damage tracking for rotated viewsemersion
2018-01-24Merge branch 'output-damage' of github.com:emersion/wlroots into output-damageemersion
2018-01-23rootston: damage tracking for drag iconsemersion
2018-01-23fix decorations on wayland backendTony Crisci
2018-01-21rename wlr_deco_part to roots_deco_partTony Crisci
2018-01-21fix cursor issueTony Crisci
2018-01-21make it work with rotationTony Crisci
2018-01-16basic decorationsTony Crisci
2017-12-27rootston: remove input event ring bufferTony Crisci
2017-12-22Fix rootston seat button countemersion
2017-12-11Set default cursor image in rootstonemersion
2017-12-08bring edges into wlrTony Crisci
2017-11-21Merge branch 'master' into fullscreenemersion
2017-11-21Add fullscreen command, fix view_at with fullscreen viewsemersion
2017-11-20Merge branch 'master' into laggy-move-resizeemersion
2017-11-20Set min view size to 1x1emersion
2017-11-19Merge branch 'master' into laggy-move-resizeemersion
2017-11-19Add roots_seat_cycle_focusemersion
2017-11-19Make the close command use roots_seat_get_focus, rename a few symbolsemersion