aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-09Swap buffers with damageemersion
2018-02-09Merge pull request #571 from emersion/output-damageDrew DeVault
Output damage tracking
2018-02-09Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-08Merge pull request #609 from VincentVanlaer/cancel-grabTony Crisci
Cancel rootson move/resize/rotate on escape
2018-02-08Rename roots_seat_cancel_transformVincent Vanlaer
2018-02-08Merge branch 'master' into cancel-grabVincent Vanlaer
2018-02-07Merge pull request #611 from DonOregano/fix-resize-freezeDrew DeVault
Make pointer button release outside window still count down the button_count
2018-02-07Merge pull request #612 from VincentVanlaer/fix-move-resizeemersion
Fix jitter when quickly resizing windows
2018-02-07Fix style errorVincent Vanlaer
2018-02-07Fix jitter when quickly resizing windowsVincent Vanlaer
Surfaces and views get resized only on commit, therefore we may only change the position of a window if there are no pending commits.
2018-02-07Make pointer button release outside window still count down the button_count.Lars Hagström
When double-clicking a maximized window title, so that the windows size is restored and the mouse pointer ends up _outside_ the window it becomes impossible to move windows. The reason is that the button_count variable is not counted down if the mouse button is released outside the window, so the button_count remains incremented even after the button is released. This patch adds a call to wlr_seat_pointer_notify_button if the mouse button is released outside the window. (I am a complete noob to wlroots, so be kind...)
2018-02-06Merge pull request #610 from Ongy/drm_reuseDrew DeVault
prevents reuse of outdated wlr_output state
2018-02-06Merge roots_seat_cancel_* into one functionVincent Vanlaer
2018-02-06prevents reuse of outdated wlr_output stateMarkus Ongyerth
On the drm output the wlr_drm_connector structs are reused. This struct contains the wlr_output struct, which is reused as well. The old code kept modes/edid and output state persistent over hotplug. This nulls the relevant strings, reads newer edid data and removes old modes on unplug.
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-06Cancel rootston move/resize/rotate on escape pressVincent Vanlaer
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-02-04Merge pull request #607 from VincentVanlaer/cursor-bugDrew DeVault
Prevent cursor from getting stuck at infinity
2018-02-04Prevent cursor from getting stuck at infinityVincent Vanlaer
2018-02-04Merge pull request #606 from FabianGeiselhart/fix-typoemersion
Fix typo in rootston config
2018-02-04Comments should talk about colons not semicolonsFabian Geiselhart
2018-02-04rootston: fix rotated views damage trackingemersion
2018-02-03rootston: fix crash when closing a fullscreened xwayland viewemersion
2018-02-03rootston: do not rely on current view size when accumulating damageemersion
2018-02-03output: replace raw GL calls by wlr_renderer_* callsemersion
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-02-03rootston: use output rendereremersion
2018-02-03Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-02Merge pull request #601 from emersion/output-modeset-enabledDrew DeVault
backend/drm: update output enabled property on modeset
2018-02-02backend/drm: update output enabled property on modesetemersion
2018-02-02backend/drm: support updating cursor when session is pausedemersion
2018-02-02rootston: do not render views fullscreened on other outputsemersion
2018-02-02rootston: fix artifacts when leaving fullscreen in a rotated viewemersion
2018-02-02Fix typo in xcursor.hDrew DeVault
2018-02-01Improve xcursor docsDrew DeVault
2018-02-01Merge pull request #598 from Ongy/screenshot_transformemersion
Screenshot transform
2018-02-01fixes the off by one errors in examples/screenshotMarkus Ongyerth
The inverse loop iterations for the transformed outputs had an off by one error, iterating 1 based, not 0 based. This commit fixes that.
2018-02-01Merge pull request #599 from emersion/output-cursor-destroy-signalemersion
output: add destroy signal for wlr_output_cursor
2018-02-01output: add destroy signal for wlr_output_cursoremersion
2018-01-31handle the other transformations for screenshotsMarkus Ongyerth
This handles all current transformations for outputs properly. This ensures an output is drawn in readable orientation/flipping no matter the actual transformations applied to it.
2018-01-31fixes 90 degree rotation screenshotsMarkus Ongyerth
This fixes the screenshot example application when an output is rotated by 90 degrees. Other tranformations are not taken into account yet.
2018-01-30output: damage whole output when fullscreen surface size changesemersion
2018-01-30output: fix output_damage_whole for scaled outputsemersion
2018-01-30backend: fix use-after-free when destroying backendsemersion
The backend destroy signal is emitted before the output_remove signal is. When the destroy signal is emitted listeners remove their output_remove listener, so the output_remove signal is never received and listeners have an invalid output pointer. The correct way to solve this would be to remove the output_remove signal completely and use the wlr_output.events.destroy signal instead. This isn't yet possible because wl_signal_emit is unsafe and listeners cannot be removed in listeners.
2018-01-30Merge pull request #597 from agx/typosemersion
Fix some typos
2018-01-30Fix some typosGuido Günther
Prefer initialize over initialise since used more often in the sources.
2018-01-30output: fix performance issues with wlr_output_schedule_frameemersion
2018-01-30rootston: damage whole output when entering/leaving fullscreenemersion
2018-01-30rootston: fix urxvt damage on HiDPI outputsemersion
util/region: add wlr_region_expand