Stephen 'Okra' Houston
59a6892984
Netstatus - Fix dupclicate Receiving labels.
2017-07-24 13:53:53 -05:00
Mike Blumenkrantz
2b50b69448
Revert "only do configure for wl clients in commit when a buffer is attached"
...
This reverts commit 9dcc4f632f
.
this breaks some corner cases, must investigate further...
2017-07-24 13:24:56 -04:00
Mike Blumenkrantz
9dcc4f632f
only do configure for wl clients in commit when a buffer is attached
...
a null attach does not require a resize, only a hide
2017-07-24 08:26:59 -04:00
Mike Blumenkrantz
b472a11f84
ignore wl client ssd mouse events for windows without ssd
...
ref T5770
2017-07-24 08:12:54 -04:00
Mike Blumenkrantz
4a766e9e2f
Revert "e comp - stop trying to set size again and again to the same"
...
This reverts commit 6e882d2e4f
.
this is identical to cd3490f35c
which was
also reverted.
2017-07-24 08:12:51 -04:00
Carsten Haitzler
358f154b83
e powerrsave sleep - add fd get
...
i could have sworn i added this... i swear i remember adding the fd
get line... how did it not make it? this is odd. well add it and fix
my spining cpu issue after moving to select to fix pipe wait not being
threadsafe.
2017-07-23 17:28:53 +09:00
Marcel Hollerbach
29ef798c26
meson: also install the tiling-theme
2017-07-22 21:25:47 +02:00
Carsten Haitzler
6e882d2e4f
e comp - stop trying to set size again and again to the same
...
i found e spinning at 100% just with 1 windows in wayland... open 2
terminology wins and move mouse form one to the other... 100% cpu. e
was moving seemingly a cursor client window? to the same coord again
and again as it was hidden...
this fixes that. no more spinning cpu
2017-07-23 00:19:51 +09:00
Carsten Haitzler
70d08a770e
powersave sleep - use fd's and seletc. ecore pipe cant be used
2017-07-22 22:43:51 +09:00
Marcel Hollerbach
3c106c6b81
meson: we need -rdynamic here not -export-dynamic
...
this is passed to the compiler not linker, so we need to tell the
compiler to pass that to the linker.
2017-07-22 10:43:13 +02:00
Carsten Haitzler
b976006bb5
meson build - fix mixer build because the defines are only for existence
...
we use these defines with
ifdef xxxx
not #if xxxx
and so they should ne undefed when not there and otherwise value when
defined is irrelevant as long as they are defined.
so use set not set10
2017-07-22 17:00:25 +09:00
Carsten Haitzler
5d7db1cb89
fix meson build for appmenu module - missing src files
2017-07-22 11:28:37 +09:00
Mike Blumenkrantz
263ee54545
rename bg_blank_object -> resize_object for a more accurate name
2017-07-21 14:43:37 -04:00
Mike Blumenkrantz
35b1d20b81
destroy desktop gadgets when the parent zone is removed
2017-07-21 14:43:37 -04:00
Mike Blumenkrantz
23c473db7b
resize comp bg_blank_object on zone update
...
various things hook this to check when the compositor is resized
2017-07-21 14:43:37 -04:00
Mike Blumenkrantz
0d85c2c5a1
rework internal win centering
...
call resize before attempting to center to ensure accurate positioning
2017-07-21 14:43:37 -04:00
Mike Blumenkrantz
e184ffd49f
do not use elm api to unset centered flag during resize
...
this triggers a full eval which resizes the window and breaks the compositor
2017-07-21 14:43:37 -04:00
Mike Blumenkrantz
24ae5b53fb
perform immediate move on bryce during autosize
...
ensure that positioning doesn't animate across zones and break config
fix T5666
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
7a020fbcb6
use e_util env functions in time module
...
ref T4648
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
213618b762
do not set e_comp log level
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
6928ca8ce4
pass screen id when opening config dialog with ASK hotplug policy
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
48a7181089
add a configurable default policy (default: extend) for screen hotplugging
...
make an effort to "just work" instead of the classic enlightenment ux of being
as annoying as possible
ref T5707
2017-07-21 14:42:29 -04:00
Mike Blumenkrantz
e65c64ff63
use 1 second for screen config apply delay
...
I want my life back from all this time spent waiting...
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
580233b256
use real sizing for screen config mode list, not 1xheight
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
411d407b86
use more descriptive label than '???' for unconfigured outputs in scren config
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
449f12e62f
move x11 randr defines to e_comp_x_randr.c
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
e8dc71cd48
meson.
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
4d3e157b30
hide pointer cursor clients when unsetting them
...
ensure the pointer remains hidden even if the client does not unmap its surface
#TheDisappointer
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
66e95311ff
only map wl pointer clients if they are the active cursor
...
ensure cursors which are randomly committed when not being used as
a cursor (e.g., all efl wayland cursors) are not shown
#TheDisappointer
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
3055c0ecae
remove wl screenshooter protocol
...
this should never have existed, as it makes no sense for a compositor to
use protocol in order to allow itself to take screenshots
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
f605dd6441
use snapshot object for shot module
...
now this is the same under all display servers
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
4ec22df15f
check for different types of load errors during startup image load tests
...
in the case where files are not found (possibly not installed/corrupted),
attempt to continue starting and not brick a running session
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
b0e13c8ca4
do not include e.h in batget.c
2017-07-20 17:18:33 -04:00
Al Poole
b57802b2c4
sysinfo: Fix BSD build.
...
Reviewers: stephenmhouston, zmike!, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5027
2017-07-19 08:55:09 -04:00
Carsten Haitzler
e38ac79a3c
pointer freeze - delay by 10 sec... because anim is used for hiding
...
this broke pointer hiding entirely... fix
2017-07-19 10:31:29 +09:00
Carsten Haitzler
e7eaef62f3
powersave usage - dont use usleep at all. pwoersave sleep replaces it
...
also... there isn't realy a need to track the screensaver state...
powersave sleep will drop back to an hour between sleeps if we're in
freeze mode (it could be longer or even be indefinite). it will be
woken up if powersave state changes...
2017-07-19 10:31:20 +09:00
Derek Foreman
4077b3ce59
Don't block wayland client updates during screen saver fade out
...
We stop allowing client updates when the screensaver is on to save power,
however this happens at the start of the fade-out. On wayland this stops
any visible client change.
If we wait until after the canvas is set to manual render instead then
we get similar benefit but don't lose display updates while they're
still visible.
Fix T5714
2017-07-18 15:17:05 -05:00
Mike Blumenkrantz
859d129edd
fix E_API definition
...
last of the bad refs I think?
ref f8de1a3f88
2017-07-17 11:05:15 -04:00
Mike Blumenkrantz
ea502c5e2b
reduce include deps for enlightenment_thumb binary
2017-07-17 08:14:24 -04:00
Mike Blumenkrantz
f8de1a3f88
reduce include deps for enlightenment_imc binary
2017-07-17 08:14:24 -04:00
Mike Blumenkrantz
4b4b003245
toggle NOGRAB on client input rects during move operations
2017-07-17 08:14:24 -04:00
Mike Blumenkrantz
a1d62d01e8
handle multiple input regions for csd clients
2017-07-17 08:14:24 -04:00
Mike Blumenkrantz
0912906ea1
Revert "handle multiple input regions for csd clients"
...
This reverts commit 950bee7ce4
.
accidentally pushed wrong ref, multiple incomplete broken commits were
merged
:(
fix T5739
2017-07-17 08:14:24 -04:00
Mike Blumenkrantz
219b25aff4
Revert "toggle NOGRAB on client input rects during move operations"
...
This reverts commit 8af555cae0
.
2017-07-17 08:14:24 -04:00
Stephen 'Okra' Houston
5370793399
Sysinfo Gadget: More thread vs object lifetime work: Make threads no longer dependent on the main loop objects and vice versa.
2017-07-15 21:32:38 -05:00
Stephen 'Okra' Houston
139045c120
Sysinfo Gadget: Unify define macro checking.
2017-07-15 21:32:11 -05:00
Al 'netstar' Poole
d7538011ec
Modules: Fix compilation and remove warnings for BSD
2017-07-15 21:32:11 -05:00
Carsten Haitzler
e130557be7
Revert "reduce include deps for enlightenment_imc binary"
...
This reverts commit ee71ea63ec
.
Revert "reduce include deps for enlightenment_thumb binary"
This reverts commit cce14fa839
.
both of these i reverted.... because they both CHANGE the define of
E_API like:
and this is wrong. e.h defines this so that these symbols are exposed.
E_API, EAPI and friends are desighned to explicitly expose symbols.
because if you try and make STRICTER binaries that only have symbols
for what was EXPLICTLY exposed like the CFLAG -fvisibility=hidden ...
then any api not explicitly marked with the attribute of visible which
that E_API macro is intended for... will be invisible. it will not
exist. this means a whole MOUNTAIN of modules stop loading as they
can't find these symbols. E_API isn't just source sugar tagging. it's
actually functional. i'd suggest using -fvisibility=hidden in your
CFLAGS by default. it's also not always portable between all compilers
so beware... (it was introduced years ago in gcc... i think clang
offers it. i don't know about icc or any others).
so since E_API is defined in e.h ... we may as well keep the e.h
include there instead of hand re-writing a list of includes. does
reducing the include deps really have an impact worth talking about on
compile time? the commit logs didn't say. but it does break module
loading and does it by adding lots of lines of code that are far mroe
easily broken now (this is an examplt). :)
2017-07-15 10:13:21 +09:00
Mike Blumenkrantz
b7e8e886e9
do not generate module.desktop files
...
the purpose of this is to allow variable substitutions, but no desktop
files do this so it's a waste of build time for no reason
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
327b69015b
make efm build without elm includes
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
c809f8b72d
split macros out of e.h into separate file
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
4b656d59c9
bump E_VERSION_MAJOR
...
should have been done a while ago
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
bc294e9bce
remove unused Evas.h include from e_fm_ipc.c
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
55e1640261
don't free x11 clipboard source immediately
...
ref T5738
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
ad56e78872
only store the compositor's own data manager resource to e_comp_wl->mgr.resource
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
cce14fa839
reduce include deps for enlightenment_thumb binary
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
ee71ea63ec
reduce include deps for enlightenment_imc binary
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
a57e39a5ea
fix e_alert build with wayland only
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
94633fbde1
fix wayland-only build
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
16378acfd2
remove unused defines
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
9173deb1fc
remove egl from build
...
not needed
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
a8869a14e9
update date for time gadgets when day timer ticks
...
ref T5700
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
6630e602a9
save config after clearing desktop gadget site
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
4a12f5c3f2
use correct key name for BackSpace in desktop gadget key handler
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
03325b0195
always check for autoclose object when adding gadget objs to edit grabber
...
ensure popups can be closed as expected during editor operations
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
02b3755828
hide gadget editor if gadget triggers a popup
...
show again when popup is hidden
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
35f4bc1cdc
add better handling for interacting with gadget popups while editor is up
...
includes gadget wizards
ref T4648
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
5e7e38d2c4
don't close gadget editor if ON_HOLD is set or click is not button 1
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
4e8836e591
prune unconfigured gadgets from comp object sites upon site del
...
automatically created sites shouldn't trigger wizards upon show
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
3da7e0d1e0
freeze pointer animations while screensaver is active
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
2290657f36
disable clock+time gadget updating during dpms
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
c895a7fae5
freeze edje during dpms
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
b283e95d1e
rename clock+time module event handler lists
...
this is no longer what it used to be...
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
74613ff0fd
only set qt theme override env vars if option to do theme matching is enabled
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
b7776798c7
don't attempt desk flips from client move handler
...
this should be handled by normal zone handlers now
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
8af555cae0
toggle NOGRAB on client input rects during move operations
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
950bee7ce4
handle multiple input regions for csd clients
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
b8bfd9e7af
update time gadget date string during clock timer
...
fix T5700
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
664c3dc468
move gadget del callbacks to AFTER priority
...
ensure gadget internals have longer lifetime than external callbacks on
gadget objects
ref 27091c510c
fix T5601, T5693
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
8e54684a2e
delete gadget editor site when editor is deleted
...
leak--
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
415a94b987
unpack gadget from site editor box on content_item del
...
the gadget should be deleted by the site, not by the gen(list|grid)
ref T5693
2017-07-14 18:40:50 -04:00
Mike Blumenkrantz
59b14a4ace
unset gadget site's layout pointer after destroying gadgets
...
ensure this persists through gadget del callbacks
ref T5693
2017-07-14 18:40:50 -04:00
Derek Foreman
27f72e76a4
Fix xwayland selection crash
...
When creating the data manager source, passing an id of 1 overwrites
the wl_display's id in the map, causing crashes the next time the
client tries to interact with that object. The client in this case
is Xwayland. Bad things happen.
Instead pass 0 which just chooses an available map slot.
Fix T5738
2017-07-14 16:56:36 -05:00
Derek Foreman
98f4336fcd
Fix clamping on screen blanker timeout
...
commit f43d2b881c
added the ability to set screen blanker timeouts as low as 6 seconds,
but E still clamped to 30 seconds when loading config.
2017-07-14 11:10:06 -05:00
Carsten Haitzler
f43d2b881c
e blanking - add new special "locked timeout" that can be shorter
...
this allows you to have a different timeout when locked thats much
shorter to save screen/power more unless you log in.
@feature
2017-07-14 09:43:29 +09:00
Stephen 'Okra' Houston
804f038f71
Sysinfo Gadget: Thread Lifetime vs Object Lifetime management.
...
This cleans up how sysinfo manages object vs thread lifetimes. If thread is still alive dependent on aspects that need to be freed in the gadget removal process, it defers that cleanup from the remove callback to the thread end callback. As for the combination sysinfo gadget, each gadget inside of sysinfo will set a done flag alerting that the cleanup of the combination gadget can happen once all threads are done.
This fixes T5694
2017-07-13 19:21:49 -05:00
Stephen 'Okra' Houston
739c1aa4b8
Sysinfo Gadgets: Thread handling improvement. Pause on Screensaver. Follow powersave.
2017-07-13 14:36:09 -05:00
Stephen 'Okra' Houston
abfc0e8210
Gitignore the sysfs frequency bin.
2017-07-13 14:24:02 -05:00
Stephen 'Okra' Houston
0b6c8a4d91
Backlight Gadget: No need for a settings button as the uniform right click does the same.
2017-07-13 11:12:58 -05:00
Stephen 'Okra' Houston
392d12bafd
Cpuclock: Don't debug print the exec string.
2017-07-12 16:07:58 -05:00
Stephen 'Okra' Houston
9e7b78ffab
Gadgets: Make sure to avoid conflicts with functions and globals.
2017-07-12 16:03:06 -05:00
Stephen 'Okra' Houston
b93849072a
Thermal: Add units.
2017-07-12 15:44:01 -05:00
Stephen 'Okra' Houston
731590ee76
Luncher: Remove useless and dangerous global.
2017-07-12 15:43:39 -05:00
Stephen 'Okra' Houston
ada1fdb71a
CPUClock: Allow setting of governors.
2017-07-12 15:42:56 -05:00
Stephen 'Okra' Houston
d4bc101866
Cpuclock: Clean up some governor handling code.
2017-07-12 13:32:56 -05:00
Stephen 'Okra' Houston
2fa8df456a
Thermal: Add left click info popup
2017-07-12 13:31:22 -05:00
Stephen 'Okra' Houston
2bbdd999ed
Sysinfo: Update Cpuclock and Thermal to the powersave api.
2017-07-12 01:24:03 -05:00
Stephen 'Okra' Houston
d03c254f5e
Sysinfo - Cpuclock: Add the left click info and right click config popup.
2017-07-12 01:08:34 -05:00
Stephen 'Okra' Houston
ae26e913ca
Thermal config: Fix rounding and math issues when switching between units.
2017-07-11 21:41:05 -05:00
Carsten Haitzler
c58bf393e0
mouse hiding - only grab pointer not pointer and keyboard - simple
...
dont need kbd grabbed at all. just pointer.
2017-07-12 10:45:50 +09:00
Mike Blumenkrantz
76484915e2
always perform initial input ungrab when waking screen
...
in the case where the desklock timer was longer than the blank timer,
this would permanently break input
input is still broken for the duration of the screen blank animation and
any time the screen is blanked
2017-07-11 15:04:22 -04:00
Mike Blumenkrantz
05a8df3d1a
do not perform input grabbing during (un)blank if pointer will not animate
...
if the pointer will not animate, input will never ungrab
this commit still breaks input. do not use.
2017-07-11 15:03:55 -04:00
Mike Blumenkrantz
031d64c2ec
Revert "Revert "move x11 suspend window grabbing to comp_x, ungrab on resume""
...
This reverts commit e90f63b25b
.
move back to comp_x, put back grab on resume.
input is still broken with this commit, do not use.
2017-07-11 15:03:55 -04:00
Carsten Haitzler
c13fa73866
e - make some comment notes on broken lock display on saver etc.
...
we have some visual glitches i'm on a mission to fix... and the above
is one of those. timeout for lock should begin after screen has gone
black first.
2017-07-11 16:57:14 +09:00
Carsten Haitzler
3fc786413c
e - fix desklock + grabs with hiding pointer on screen powerdown/up
2017-07-11 16:57:14 +09:00
Jean-Philippe Andre
b173ed7be6
pulse: do not leak strbuf
...
See also ac92ff5256
.
- eina_strbuf_string_get() returns the internally stored string as
a const char *, and does not free the strbuf itself
- eina_strbuf_string_steal() returns the internal string as a
char *, giving ownership to the caller, and frees the strbuf
itself
- eina_stringshare_add() takes a const char * as input and makes a
copy of the string
As a consequence, ss_add(sb_string_steal()) leaks the internal
string from the strbuf, while ss_add(sb_string_get()) leaks the
strbuf structure.
A one liner here would require either an eina_slstr based API or
an API in stringshare to take ownership of a given string. Both
would be useful APIs :)
2017-07-11 10:49:03 +09:00
Carsten Haitzler
e90f63b25b
Revert "move x11 suspend window grabbing to comp_x, ungrab on resume"
...
This reverts commit 7bc179da5a
.
this now totally broke the glitch fix and it now animates in reverse
on suspend and does nothng on resume... testing might be a good idea
beforehand...
2017-07-11 09:00:05 +09:00
Mike Blumenkrantz
7bc179da5a
move x11 suspend window grabbing to comp_x, ungrab on resume
...
ref d0c5fb465b
2017-07-10 09:49:34 -04:00
Marcel Hollerbach
ac92ff5256
mixer: do not leak a allocated string
...
this fixes a leak, thank you jp!
@fix
2017-07-10 15:29:27 +02:00
Carsten Haitzler
d0c5fb465b
support connected standby (non-s3 sleep/freeze) that new lpatops sport
...
this requires we have to force dpms on to reduce power. to avoid
glitches with the pointer staying around in x we need to support
suspending it too so it hides cleanly like the screen dims or undims.
also use the new powersave freeze mode to do this.
note that i've tested this on s3 supporting laptops and non-s3 and it
"works for me". it may require more testing and work. there is more to
power saving than just this as well but for now that's out of scope as
you have to mess with linux device autosuspend timeouts and a bunch
more (wowlan ... blahblah).
i need to find the source of the intermittent wakeups too in e. there
is a long lived timeout (8-ish seconds?) but more specifically e keeps
waking up from fd's and then reading /sys stuff about battery - some
event is causing us to do this... maybe to suspend this or make
battery checking very rare when in freeze mode (or screen off) etc.
so this fixes some glitches as well as supports a new way of sleeping
"alive" when hardware literally doesnt support normal s3 sleep... so
kind of a fix with a feature.
2017-07-10 10:18:50 +09:00
Carsten Haitzler
7caf5c8ff4
add new powersave features for supporting a live sleep mode
...
so new laptops now seem to no longer support S3 sleep. sleeping is
done basically by going as idle as possible. you can ask the kernel to
freeze execution BUT this seems to use about the same power as staying
alive in my tests. to support this add 2 things:
1. a FREEZE powersave mode which implies we're alive but want to
really stay as idle as absolutely possible.
2. powersave aware sleep functions that replace the usleeps in threads
so they can switch from being super sleepy when in freeze mode to
normal.
2017-07-10 10:18:50 +09:00
Amitesh Singh
b88059b91a
e widget entry: fix the compilation warning
...
src/bin/e_widget_entry.c:269:16: warning:
unused variable ‘text’ [-Wunused-variable]
2017-07-08 22:23:22 +09:00
Mike Blumenkrantz
ac8a9fc2f0
don't set E_Client->want_focus for wl overrides with parents
...
all input for these goes to the xwl resource anyway, let parent get focus
ref 69c85fc1aa
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
4d92808e65
use kbd focus resource's client instead of "focused" client in data device
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
9fc9fce9a7
unset DISPLAY in mixer when performing pulseaudio operations under wl
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
84e9118c9f
don't reject internal wl selections based on serial value
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
a142a7eb80
focus comp canvas's client when no real client is focused
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
1b6ccd5aa8
add handler to catch (new) fake elm win wl2 window client
...
now the compositor canvas has a wl2 window
2017-07-07 16:26:28 -04:00
Mike Blumenkrantz
b008dce0a0
add "focus" mode for render debug
2017-07-07 16:26:28 -04:00
Stephen 'Okra' Houston
a1b2771496
Cpuclock: Fix sysinfo cpuclock theme name.
2017-07-07 14:52:16 -05:00
Stephen 'Okra' Houston
557a060c78
Thermal Gadget: Add configuration popup.
...
Choose temp units, update poll time, and min/max temps.
2017-07-07 14:38:57 -05:00
Stephen 'Okra' Houston
480eb2a04f
Luncher: Hint the preview popup to have the same min size as the preview windows.
...
This fixes T5669
2017-07-07 10:30:38 -05:00
Stephen Houston
28da1ff339
Nothing to see here. debug--
2017-07-06 21:12:53 -05:00
Stephen 'Okra' Houston
bac93b1bb5
Wireless Gadget: Make the network list popup and right click popup work correctly.
...
This fixes an issue where layering was off for the popup network list and when the right click settings window would not open.
2017-07-06 16:29:19 -05:00
Derek Foreman
c0751ef3eb
Make wayland clients render when only visible from mirrors
...
Under some circumstances we can defer frame callbacks forever for clients
that are only visible on desk mirrors.
I'm not certain those circumstances should actually occur (Ref T5678) but
at least for now this is a trivial and harmless workaround.
Fix T5654
2017-07-06 15:40:59 -05:00
Stephen 'Okra' Houston
9894726039
Gadgets: Clamp aspect sets to a minimum of width and height minimum of 1.
...
This fixes T5600
2017-07-06 14:16:00 -05:00
Stephen 'Okra' Houston
202bf770f4
Gadgets: Follow gadget theme naming conventions.
2017-07-06 12:20:53 -05:00
Derek Foreman
19a9f4ed29
also apply xdg-shell v6 client del hooks to external clients
...
partially reverts 7e05eff3e3
This was causing problems when destroying some xdg v6 clients.
if weston-simple-shm was killed while not on the current desktop
it would remain on deskmirrors.
2017-07-06 11:40:30 -05:00
Marcel Hollerbach
d2d3d9976b
mixer: the name has to be a stringshare
2017-07-04 16:49:54 +02:00
Marcel Hollerbach
b32086d402
emixer: use a better name for the sink inputs
...
it seems applications are using a higher quality name with the property
PA_PROP_APPLICATION_NAME.
ref T5664
2017-07-04 10:12:01 +02:00
Carsten Haitzler
ea89d44ef4
e - fix entry wrapper - e entry was plain. elm is markup. do it properly
...
convert to/from utf8 plain/markup in e widget entry wrapper.... this
fixes broken results if you enter escapable text like " or < or > or &
... etc.
@fix
2017-07-03 19:19:55 +09:00
Mike Blumenkrantz
02d8da9cd9
remove "gadget_removed" smart callback from gadgets which use it upon deletion
...
ensure that this isn't called in a use-after-free scenario
2017-06-30 17:03:24 -04:00
Mike Blumenkrantz
af60915713
add function for a gadget to remove itself
2017-06-30 17:03:24 -04:00
Mike Blumenkrantz
c109e2d6a6
save gadget site config when deleting gadget after wizard failure
2017-06-30 17:03:24 -04:00
Derek Foreman
034211051b
Remove some duplicate dmabuf validity checks
...
These have been moved into EFL where they belong.
2017-06-30 14:51:05 -05:00
Derek Foreman
cb83120863
Remove old test for dmabuf validity
...
EFL now sets image load error for native surface set, so this hack is
no longer required.
2017-06-30 14:51:05 -05:00
Mike Blumenkrantz
5df53cec7b
process screen events in wl when using fake screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
75b473c4ef
don't crash in randr module when using fake xinerama screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
43dea93969
handle rotations with fake xinerama screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
789eccf12f
try redirecting failed clients again during resize
...
it seems like this is a good place to try, and this seems to resolve
some render updating issues on restart, such as with maximized chrome
windows
ref T5599
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
44693a1852
only unredirect clients during comp update after 3 failures
...
tfw your conditional is backwards
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
07d4f3bcf6
don't call comp object cleanup functions for clients without comp objects
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
1f0bed7e0b
check ec pointer before deref in luncher's E_EVENT_EXEC_DEL handler
...
a deleted exe is unlikely to have clients
fix T5599
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
9357ecc443
don't force shm for xwayland launch and enable gl
...
fix T5606
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
fea11b1621
don't run x11 focus (un)set callbacks for override clients
...
this is unnecessary in x11 and broken in xwayland
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
836845a615
use xwayland check for clients when checking whether to reset focus to root
...
checking base pixmap returns false for xwayland clients
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
69c85fc1aa
only set E_Client->want_focus for wl override clients if not popup client
...
do not attempt to focus popups as they are already child windows and thus
do not require keyboard focus
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
b183e001a1
make e_comp_object_frame_allowed() return false for ignored clients
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
d0accb8e52
block pointer warping on override clients
...
this is never okay
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
3fdcc92ab0
check exit status from auth subprocess
...
if the process doesn't exit then auth didn't succeed and this is a system issue
ref T5604
2017-06-30 10:25:17 -04:00