Commit Graph

23229 Commits

Author SHA1 Message Date
Al Poole 12e0303e4b filepreview: show mime type icon when not video and no artwork.
This adds the icon associated with the file type to the preview.
If there's no artwork available the audio preview will no longer
be a large void, the mimetype icon will display.
2017-09-10 13:05:44 +01:00
Al Poole 8a9de1de69 filepreview: add support for album artwork in preview when applicable.
When available preview will display album artwork when previewing audio.
2017-09-09 22:23:14 +01:00
Carsten Haitzler 6502f030c9 fix nested wayland in x11 mode with getting canvas zone geometry
yup. was broken. fixes T5993

@fix
2017-09-09 11:56:16 +09:00
Carsten Haitzler 1d610fd609 fix up window+screen positioning fixup so it doesnt catch other clients
so some other clients like mpv also try to explicitly position their
windows (like centering on screen 0 ALWAYS) and this now gets caught
up in trying to detect libreoffice doing the same thing for
presentations. so only support this is the app has explicitly
requested initial positionin explicitly and then use pending configures.
2017-09-09 11:18:15 +09:00
Carsten Haitzler 041748b017 window focus - fix focus switch action next/prev walk dead code 2017-09-09 09:57:22 +09:00
Carsten Haitzler eef7111e97 vkbd - merge in commented out wl code from weekeyboard 2017-09-09 08:33:27 +09:00
Stephen 'Okra' Houston 3b7926a20a Netstatus: Average out throughput when time elapsed is greater than 1 second.
This isn't very accurate but seems to be what other tools that check at slower rates than every second do.  For instance if you are checking every 10 seconds and in that time frame 500 kb was received, was the throughput for each second 50 kb? No, not likely, but that is the result you will see here.  I guess this is one of those close enough things.  Thanks to @davemds for reporting this issue.
2017-09-08 16:16:19 -05:00
Stephen 'Okra' Houston 7f3e7d933e Show netstatus output in bits per second while still polling based on ticks to avoid unnecessary wake ups. 2017-09-08 15:18:23 -05:00
Mike Blumenkrantz 3506f550c7 only show options for hiding non-active wireless services in gadgets 2017-09-08 15:52:49 -04:00
Mike Blumenkrantz ca10560705 refresh wireless gadgets upon toggling hide for services types 2017-09-08 15:52:49 -04:00
Derek Foreman 9566b72e86 Fix crash when processing a wayland client cursor set after death
It looks like the only way we can get here with NULL resource data
is when we explicitly cleared it in the del hook, meaning the client
is dead to us.  In this case it's ok to ignore the cursor set request.

ref T4988
2017-09-08 14:38:08 -05:00
Stephen 'Okra' Houston 6f6f344c0a Netstatus: Use proper label for throughput in config. 2017-09-08 14:11:00 -05:00
Mike Blumenkrantz 2b7bfe657c add options for hiding service types in wireless gadget
fix T5975
2017-09-08 14:53:52 -04:00
Mike Blumenkrantz 340350fbbc make some pager global vars EINTERN 2017-09-08 14:53:52 -04:00
Stephen 'Okra' Houston ce61c37782 Netstatus: Don't show an incorrect unit on the popup label. 2017-09-08 09:29:53 -05:00
Mike Blumenkrantz 7fd3e2e798 restore 'application name' remember setting in dialog
broken in 6e8070d226

fix T5991
2017-09-07 14:13:01 -04:00
Mike Blumenkrantz 378e371e74 remove fullscreen clients from vdesk clients list when toggling sticky state
fix T5988
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz 72b979ca2b handle first time desk setting for fullscreen clients without crashing
ref T5988
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz 09952cb5ef apply pointer focus to existing config dialogs from settings window
this should be more consistent with expected behaviors
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz 8f26d33d11 warp pointer to center of internal dialog on show if dialog has focus
ensure that pointer-based focus policies do not experience unexpected focus
changes when a dialog changes from basic<->advanced

ref T1931
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz ef3ee4b258 further improve wireless gadget popup sizing
ref 55f4a37492
2017-09-06 14:31:00 -04:00
Mike Blumenkrantz 739eb9b679 add more files to autotools dist 2017-09-06 13:32:25 -04:00
Mike Blumenkrantz 5dc267ec84 block all desk flips during window resize
this breaks *

fix T5984
2017-09-06 13:32:25 -04:00
Derek Foreman c21c282483 Fix video explosion on rpi3 during screen blank
Seems like spamming dpms on when it's already on and we're rendering
is antisocial, so cut that out.

Fix T5977
2017-09-05 14:35:07 -05:00
Derek Foreman cc5eec5cc3 Remove bogus EINA_UNUSED
move along, nothing to see here.
2017-09-01 15:13:41 -05:00
Mike Blumenkrantz 6f1b75e87b disable auto positioning of gadget ctxpopups for now
ctxpopups 2hard4me atm
2017-09-01 15:39:33 -04:00
Stephen 'Okra' Houston ef43d6bd4c Luncher: Remove the engage feature
The engage feature was mainly there as a demo of the capabilities of bryce.  Now that we are nearing release we need to clean up our gadgets.  The engage style for the luncher gadget is not complete, and does not work adequately, and quite honestly better belongs as a feature of bryce itself not luncher.
2017-09-01 13:52:09 -05:00
Mike Blumenkrantz df1e21b120 reset zone edge objects after comp canvas update
fix T5969
2017-09-01 13:54:54 -04:00
Mike Blumenkrantz 93cc8a8e35 add meson files to autotools dist 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 88cee49225 use tar-ustar for autotools dist
tar-v7 does not support long enough filenames for successful dist
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 1a241a6c68 fix uninitialized var warning in pager 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz a49a73ed65 fix autotools sysinfo module build 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz ef6197b119 do not force client focus setting after calling e_desk_last_focused_focus()
in some cases focus setting must be deferred, and forcing focus in these cases
will create focus bugs

ref 9ae24a3a4a
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz e0ff23d83b block pager gadgets on desklock sites 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 5f75193054 always set gadget ids when creating new non-demo gadgets
ensure gadgets aren't pruned on edit end
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 4e4dd8b7c0 add time config event rects to gadget popups list
attempt to preserve event propagation for sites in different environments
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 8ea5cf9c47 add desklock gadget site event rect to event grabber while editor is visible
allow actions to trigger on gadgets during editing

ref T4648
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 46cd0090cd stack gadgets below site event rect when reparenting gadget 2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 49084c5ced don't update clock timer for time gadgets when deleting a non-advanced gadget
if the deleted gadget won't affect timers then don't update timers

ref T4648
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz e5dd1f12f3 set shaped client image alpha after setting image data
avoid triggering render sync with old image data

fix T5957
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz b492e87851 use correct string for randr screen fuzzy matching
using the full edid string results in infinite recursion
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 75a12a9461 check for matching '/' in screen edid before fuzzy matching in randr init
if no / exists then this function is pointless
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 6dd9205e0a rename E_EVENT_COMPOSITOR_RESIZE -> E_EVENT_COMPOSITOR_UPDATE 2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 1ca1201110 recalc desktop gadget sites on compositor update event 2017-09-01 13:40:11 -04:00
Mike Blumenkrantz f8a599d525 avoid adding render updates on client resize while shading the client
this results in a blank render

fix T5929
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 1a651f23af return during client pixel callback if pixmap is dirty and no updates exist
this probably indicates a client update is needed in order to complete the
render, so the existing data should be reused since nothing will render now
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 026ce1a43e move pending client render queue in pixel callback to before render call
no functional changes
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz a76e9aa8fe do not reset existing client damage on resize if tiler size matches pixmap size
this probably indicates a case where the client wasn't actually resized and the
compositor is doing something like shading a window
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 55f4a37492 redo wireless gadget network list popup to use a table
sizehints.jpg
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz 84e999f5f3 track gadget ctxpopups and reposition within zone on resize
this attempts to shift the ctxpopup content vertically and horizontally to
keep it on the same screen that the gadget is on

fix T5945
2017-09-01 13:40:11 -04:00