Mike Blumenkrantz
592c2c7499
block some gadgets from appearing on desklock gadget sites
...
ref T4648
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0f5b287866
add gadget api for determining if a gadget site is a desklock site
...
potentially this could be improved to use a vastly overengineered 'policy'
setup, but for now this fits the biggest use case
ref T4648
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
a72b88c0e7
handle bryce setup when theme is broken
...
fix T5889
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
07ea23b5b9
handle xdg "autostart" directories in apps dialogs
...
a valid autostart directory can exist in any xdg data/config directory
according to spec, so ensure we check everywhere when listing them
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
db264cca49
simplify placed flag setting during wl surface commit
...
this should result in fewer cases of windows randomly warping around...
...
maybe
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4cb05b4120
use clone of remembers list in window remember config
...
this modifies the remember list and guarantees a crash if sorting occurs
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
57176bf29d
do not rescale override x11 clients during hint fetching
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
ec047b1a98
perform client zone updates on canvas move/resize when not ignored
...
overrides still need zone updates here
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
00c01d0ae6
use client frame for internal win geometry setting on show
...
calling these functions on the elm_win has no effect here
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
e93f67e74a
go back to image widget for video filepreviews
...
this still has some funkiness related to initial geometry but it looks
better and doesn't have weird resolution bugs
fix T4293
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
28783cfc23
use evas size hints for image widget internals if internal obj is not edje obj
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0bd73b5a54
use client geometry for fileman popup positioning instead of win object geometry
...
window objects don't return accurate geometry under wayland
fix T3842
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4fe54ab81a
fix color class dialog sizing
...
ref T3682
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
29b736257c
destroy dropped gadgets after drop operation completes
...
the gadget object is used during the drop callback, so destroying it
before the callback breaks the drop operation
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
4d8e1d5e29
perform gadget site layout before calling drop callback
...
calling this inside the drop callback resets the dropped gadget's position
and causes the drop operation to fail
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
feb17c898d
set moving gadgets in pointer site to have moving state
...
prevent spurious resizes during layout
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
850f5b40f8
handle gadget ctxpopup placement for desktop gadgets
...
fix T5877
2017-08-25 14:47:09 -04:00
Stephen 'Okra' Houston
5bcdfb0421
CPUMonitor: Don't pack the box in sysinfo mode.
2017-08-24 19:39:20 -05:00
Stephen 'Okra' Houston
1af5125cc9
Batman: Set the demo gadget to have full battery.
2017-08-24 08:08:41 -05:00
Stephen 'Okra' Houston
30ee8c5284
CPUMonitor: Make sure to set the number of cores so aspect calcs.
2017-08-24 08:06:20 -05:00
Stephen 'Okra' Houston
c7e6b52d2e
CPUMonitor: Fix aspect by using correct theme names. This requires an EFL update too.
2017-08-23 19:02:46 -05:00
Stephen 'Okra' Houston
ccf30bd726
Luncher: Don't use a second object for the overlay. This requires EFL updating due to theme.
2017-08-23 17:06:57 -05:00
Stephen 'Okra' Houston
ae9966970b
Pager gadget: Take advantage of new theme. For this to work, you must update EFL first.
2017-08-23 15:28:28 -05:00
Stephen 'Okra' Houston
ad46d041a8
Gadgets: Don't set gadgets to expand.
2017-08-23 09:55:59 -05:00
Carsten Haitzler
638ffe5853
mixer - fix segv on shutdown
...
this just got added... dont shutdown actions if no gmixer has been
created.
2017-08-23 17:39:14 +09:00
Stephen 'Okra' Houston
c3ae81586c
Backlight: Don't add del callback for demo gadgets.
2017-08-22 18:18:57 -05:00
Mike Blumenkrantz
38a95f0930
do not add del callback for demo mixer gadgets
...
fixes crash when destroying demo mixer gadgets if no real gadget exists
2017-08-22 18:31:35 -04:00
Stephen 'Okra' Houston
0332eca3c7
Mixer Gadget: Use demo gadget in places where demo gadgets are used.
2017-08-22 11:54:52 -05:00
Stephen 'Okra' Houston
062664d839
Backlight: Use a static number for demo purposes.
2017-08-22 11:10:48 -05:00
Stephen 'Okra' Houston
993f8ad519
Sysinfo Gadgets: Provide only demo data and don't poll/thread when gadgets are in demo mode.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Stephen 'Okra' Houston
12b8f482ed
CPUMonitor: Don't try and delete objects after the gadget has been removed.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Carsten Haitzler
4fc49bdcca
vkbd - begin someinfra to support wayland
2017-08-22 21:01:03 +09:00
Marcel Hollerbach
338ce6f11c
meson: install emixer correctly
2017-08-22 09:30:36 +02:00
Carsten Haitzler
159cb21cda
vkbd - forgot to mark text in vkbd to scale... do that
2017-08-22 09:59:09 +09:00
Mike Blumenkrantz
096f1084a5
always use client geometry for comp object centering functions
...
this should always be more accurate than the object geometry, which may
or may not have been applied at any given time
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
40df7bddc8
make grab dialog text read a bit more clearly
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
c31cb51499
replace <br> with <ps/> for all text
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
37d1bf3ea0
force min size calc on dialog show
...
this resolves a number of dialog sizing issues where text or content could
be clipped due to deferred sizing
2017-08-21 10:16:35 -04:00
Carsten Haitzler
014b74bc74
e sys - add listening to prepare for shutdown/suspend from systemd
...
listen to the prepare and post signals... just print right now as not
really used... but knowing and logging is good.
2017-08-21 23:15:04 +09:00
Jean-Philippe Andre
bc55beb638
config: Add env var to skip profile save
...
This only skips writing the profile name to
~/.e/e/config/profile.cfg
This allows easier testing of E with custom profiles.
Note that this goes together with another patch in elementary, but the
env var is different (note: we could use a single one). This is only
meant for debugging.
export E_CONF_PROFILE_NOSAVE=1
2017-08-21 19:04:02 +09:00
Carsten Haitzler
8da6aa4142
xsettings - fix warning for buffer that could be a bit small
...
warnings of buffer being a little small in theory. fix.
2017-08-21 12:16:27 +09:00
Carsten Haitzler
c93d394f3b
vkbd - fix 2 finger floating drag
2017-08-20 11:54:00 +09:00
Carsten Haitzler
282ead59a1
vkbd - fix seg with multi touch
2017-08-20 11:29:06 +09:00
Carsten Haitzler
da791a0bf5
e mixer - handle pulse exit/disconnect and not keep e client sinks
...
we keps e client sinks even if we were dicsonnected from pulse... this
caused fun crashes. fix
@fix
2017-08-20 01:02:03 +09:00
Carsten Haitzler
d196f25a2b
filepreview - properly set min size on cells not in a broken way
...
this should fix T5891
2017-08-20 01:02:03 +09:00
Carsten Haitzler
73e3ed1bb0
e x11 focus fixup - dont do the fixup if input grabbed
...
this actually fixes everything fully and has focus working nicely now
with the fixup
2017-08-20 01:02:03 +09:00
Carsten Haitzler
074b3fe1eb
e - add vkbd for convertibles (tablets, laptops ... phones)
2017-08-20 01:01:58 +09:00
Mike Blumenkrantz
09a8888f76
batch x11 maximize state change requests
...
if an app wants to set both horizontal and vertical, set both at the same
time to improve performance and accuracy
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
e27132757c
don't set gadman overlay gadgets as editing if overlay not visible
...
this screws up mover visibility
fix T3291
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
5610c4cad0
locally store the backlight level when suspending/hibernating
...
ensure that the exact level which was set before suspend/hibernate is reapplied
fix T1420
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
832bd3bc1d
check imc exe existence before showing in imc dialog list
...
don't show things which will definitely fail
fix T1526
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
385354f051
remove invalid framelist call on frametable object in imc dialog
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
5998f175b5
temporarily cache x11 configure requests which reposition hidden windows
...
when an app tries to position itself before being shown, attempt to store this
and apply it in order to effectively handle cases where an app attempts to show
on a specific screen, e.g., presentation apps which show a console on one monitor
and the presentation on a different monitor
fix T1571
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
5f87fbca2e
only set new clients to current desk if desk has not yet been set
...
placement policies can override setting windows onto the current desk
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
3c31e67b05
use menu item geometry to determine whether menu item is onscreen
...
fix T2126
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
f64812122f
lock menu eventing during menu idler positioning
...
ensure moving menus doesn't trigger menu item activation
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
121e7fab4b
replace existing resize pointer mode for x11 client-initiated resizes
...
ensure there is no mismatch between pointer modes when pushing/popping modes
fix T4893
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
b246cc27ee
handle focus reverting correctly when using desk flip all actions
...
perform the focus revert once the last desk has finished flipping and based
on all available visible windows
fix T3495
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
7402dc8eda
only update wl client window size on commit if no pending resize exists
...
this breaks pending resizes
fix T4189
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
ac91f3b2c5
clamp xsettings font size to 12 when size is 0
...
font class config does not require the user to select a size, so do
extra clamping here when a size isn't set
fix T3093
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
cfb40865bc
re-select previously selected font+size in font class config
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6f2fb8b071
refill tasks gadgets on MISC client property events
...
fix T5769
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2b984e68b9
add MISC client property event to be manually triggered whenever misc props change
...
there's too many properties to create flags/events for all of them, so just use this
if it's one of the many misc props
currently only used for skip_{pager,taskbar,winlist}
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
bda9bfb8c0
avoid hiding->showing->hiding->etc submenus for active menu items
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
787c7825d2
unify tasks module client property handlers
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6fa35c353d
ensure client rescale picks up current geometry
...
in some cases this would restore the wrong geometry and windows could become oddly
sized
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
91dc28967a
add separate desklock key up handler to correctly handle caps lock on wayland
...
x11 modifier handling in events is broken: the modifier state is the state from
before the event, meaning that pressing caps lock will never result in an event where
the modifier is not set in the corresponding event
wayland handles this more sensibly, though it should be detected on key up rather
than key down
fix T5737
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a1e585862c
use EC_CHANGED for client menu attr changes
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
528bad7252
block updating window remembers while applying them
...
some attrs (e.g., desk setting) change the position/size of a window before
another attr is set, changing the original value
fix T5295
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
35594d43f9
only pop a single dialog to notify about all fail themes in theme dialog
...
popping a million dialogs is super annoying
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
b078599fdd
send theme signal for dialogs when no buttons are present
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
d07408e76c
do not center xwl clients on their parent during first commit
...
xwl clients are placed differently
ref b817db7f09
fix T5845
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
2832d893cc
set transparent state for luncher preview wins when win has alpha
...
this should probably use a mask to provide just the outline in the theme?
@jpeg
fix T5741
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
487eb17d5f
always align ibar inner box to the left
...
fix T5041
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
b80f0fce56
don't set focus attrs in wl surface commit for xwl clients
...
these should be getting set in other places...I think...
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6ee841ecd5
use xwindow check to determine whether to check icccm accept/take focus attrs
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
ff8964a1c6
don't force xwl drag client motion for override drag clients
...
this should improve dnd visuals a bit
ref T5593
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a12e9f954b
end xdnd operations on window hide if no FINISHED event is received
...
fix T5886
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
6b2a9a0f7b
set gadget ctxpopup priority based on anchor
...
fix T5877
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
a59328b34a
add internal action for showing a menu using object geometry
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz
abc70abbf0
make menu autoplacement more consistent by preferring DOWN placement
2017-08-18 15:52:50 -04:00
Marcel Hollerbach
8537923d2e
everything:declare this object as const
...
The object is not meant to be moved, we only subscribe click events on
it, this isnt really changing the context where the api wants to declare
it const, so for now safe it everywhere as const and register /
unregister the callbacks with casts.
2017-08-17 18:46:51 +02:00
Mike Blumenkrantz
3271efaba4
capture zone for newly-added bryces based on name
...
the last number is always the zone number
2017-08-16 10:58:51 -04:00
Mike Blumenkrantz
b6759a8c27
do not apply x11 pointer focus if key/mouse grabs exist
...
fix T5871
2017-08-16 10:42:14 -04:00
Marcel Hollerbach
5eed5f6fdb
tiling: give a better error message if a client doesnt fit
2017-08-15 10:59:15 +02:00
Marcel Hollerbach
bf146faf72
mixer: find a better name
...
if pa does not provide the name via the proplist we can just use the
information from name if the name exists
2017-08-14 17:35:36 +02:00
Mike Blumenkrantz
b2c5c20cde
manually get client under pointer for checking x11 pointer focus
...
e_client_under_pointer_get() ignores overrides.
ref 3ee5a0378d
fix T5878, T5871
IF ONLY THERE WERE SOME METHOD FOR TESTING COMMITS BEFORE THEY WERE PUSHED
2017-08-14 07:30:04 -04:00
Marcel Hollerbach
d9737ddba5
tiling: change description
...
in one of the last commits i accedently just changed the title on
deletion not when we are creating the action.
fixes T4499
2017-08-14 10:13:49 +02:00
Marcel Hollerbach
430d7e0bb2
everything: use correct edje api
...
everything used here edje_object_part_swallow_get, which is somehow
wrong, since we dont really know if the everything theme gives the type
swallow, using the plain object_get of edje is the solution here. Its
returning a alias object that is hiding the internal edje object.
2017-08-13 21:18:49 +02:00
Davide Andreoli
ac0e78201e
pkit gadget: do not autoclose the popup
...
Like the majority of other gadgets
2017-08-13 20:08:49 +02:00
Marcel Hollerbach
2e5c9cbe71
tiling: show notification if a client cannot be tiled
...
this at least tells the user that the client could not be tiled and not
just mysterically putting it under floating.
2017-08-13 19:06:07 +02:00
Davide Andreoli
0d5bc403c6
pkit gadget: popup title in bold
2017-08-13 08:41:16 +02:00
Al Poole
16d23a628f
Efm: file properties, fix widget sizing issue.
...
Summary: This fixes the erroneous sizing of labels in Efm preview dialogues.
Reviewers: zmike!
Subscribers: stephenmhouston, cedric, raster
Differential Revision: https://phab.enlightenment.org/D5093
2017-08-13 09:52:02 +09:00
Davide Andreoli
8a5b878443
pkit gadget: show the button only if a packager manager is configured
2017-08-13 00:33:40 +02:00
Davide Andreoli
dfcf6d960f
pkit gadget: a new help "mode" that show the icon meanings
2017-08-13 00:21:03 +02:00
Marcel Hollerbach
5b3f38efcf
leave the E_Comp_Wl_Data define in e_comp.h
...
otherwise bulding without wayland breaks
2017-08-12 22:47:52 +02:00
Marcel Hollerbach
de21e6ddb8
tiling: fix insertion in the tree
...
the problem here was that in the initial case the function got the
previous state of the tree wrong, so the insertion of a second client
ended up in a unpossible state of the tree, this should not happen
anymore now.
The insertion is now also way more stable, since in a errorcase the
client is not just not placed in the tree but associated with a window
tree, its just not placing the client in the window tree at all.
2017-08-12 22:30:33 +02:00
Marcel Hollerbach
f1fb4a0c83
tiling: only use the insert function
...
this brings all possible bugs due to insertion to one single function
2017-08-12 22:30:33 +02:00
Davide Andreoli
1e2fa5649e
pkit gadget: show a nice progress bar while working
2017-08-12 22:30:00 +02:00
Davide Andreoli
5fa85726ee
pkit gadget: cosmetics, no functional changes
2017-08-12 19:52:16 +02:00