Mike Blumenkrantz
8ffda5f23a
don't do x11 window grab for fps counter when running in wayland mode
...
this crashes older efl
2018-01-22 16:21:28 -05:00
Mike Blumenkrantz
efa9f4276a
fix notification crashes when a callback isn't specified
2018-01-22 16:06:42 -05:00
Mike Blumenkrantz
69c570104a
require X-Gadget-Version field for sandbox gadget .desktops
2018-01-22 15:59:09 -05:00
Mike Blumenkrantz
83041e4815
add menu item for reporting bugs
...
fix T6633
2018-01-22 15:35:58 -05:00
Mike Blumenkrantz
35f705a621
support gadget versions with [X-Gadget-Version] .desktop entry
...
fix T6397
2018-01-22 15:25:31 -05:00
Mike Blumenkrantz
9bba6e80e4
require [Type] = Application for sandbox gadget .desktop entries
2018-01-22 15:20:38 -05:00
Mike Blumenkrantz
aa9ece4722
require [Name] entries for sandbox gadget .desktop files
2018-01-22 15:20:38 -05:00
Mike Blumenkrantz
83952a1708
add notification util function for more easily sending notifications
...
still need some kind of sticky notification for important things
2018-01-22 15:20:38 -05:00
Mike Blumenkrantz
109d7897b0
show title for gadget bar menus
2018-01-22 15:20:38 -05:00
Mike Blumenkrantz
0e14928811
add sandbox/runner gadget types to gadget menu as title
2018-01-22 15:20:35 -05:00
Mike Blumenkrantz
d309a9c39b
add gadget type to gadget menu header for internal gadgets
2018-01-22 14:39:53 -05:00
Mike Blumenkrantz
9a557876c2
use normal emotion function to determine playability of e_thumb files
...
ref 82f1b8a1c1
ref D4779
2018-01-22 14:16:26 -05:00
Mike Blumenkrantz
adc3c5ac81
clamp large windows to desk's useful geometry if smart placement fails
...
in the case where a window does not place with the smart placement algorithm,
clamp position to the top-left available position within the useful geometry
so that the titlebar will always be visible
2018-01-22 13:41:45 -05:00
Mike Blumenkrantz
7f649d078b
block gadget site layouts on moving gadgets which are not on the pointer site
...
these will be recalculated correctly once the move operation terminates
fix T6623
2018-01-22 11:17:54 -05:00
Mike Blumenkrantz
e787a71048
clear visible gadget popups when triggering a gadget action
2018-01-18 15:33:11 -05:00
Mike Blumenkrantz
617735ca4c
consider gadget ctxpopups as normal popups for callback purposes
2018-01-18 15:31:43 -05:00
Mike Blumenkrantz
265dd55163
sort gadgets alphabetically in gadget editor
2018-01-18 15:02:11 -05:00
Mike Blumenkrantz
037068112f
flush injected gadget loader protocol connections after calling methods
...
ensure that gadget-specific methods trigger a flush instead of relying
on a render to occur
2018-01-17 17:31:09 -05:00
Carsten Haitzler
d73d902292
init anim - fix sudden vanish of init splash in some cases
...
this seems to happen to @manmower in T6619. it may just be timing
changes that changed the start loop time to be at init of ecore maybe ...
but it was doing a forced hide and not a clean "done"
that animates/fades. so fix this along with deferring show until the
first render pre.
this fixes T6619
2018-01-17 18:14:29 +09:00
Mike Blumenkrantz
683f76beab
add a lot of null checks to wayland egl init
...
fix T6617
2018-01-16 18:36:11 -05:00
Stephen Houston
f4cff7229f
Mark unused parameters as EINA_UNUSED and remove unused variables.
2018-01-12 16:58:16 -06:00
Mike Blumenkrantz
0fa5d3d0e3
rename Bryce -> Gadget Bar in ui elements
...
this was a joke that accidentally went on way longer than intended
2018-01-12 15:23:52 -05:00
Mike Blumenkrantz
7b31d05ff2
unset E_Client->changes.pos when attempting to maximize a new re_manage client
...
a remaining client from before a restart which is maximized does not need its
position adjusted; this will cause it to go offscreen when unmaximized
ref T6414
2018-01-12 12:26:21 -05:00
Mike Blumenkrantz
6c97716899
use e_zone_desk_useful_geometry_get() for all client maximize geometry fetching
...
fix T6414
2018-01-12 12:26:21 -05:00
Mike Blumenkrantz
b95e28fd91
propagate sandboxed gadget tooltip sizes as aspects
...
xdg_popup does not have min size hints, so instead we can proxy aspect through
to mimic this behavior
2018-01-11 16:24:00 -05:00
Mike Blumenkrantz
94270ffd93
pass correct pointer to sandbox gadget tooltip destructor
...
fix crash when hiding tooltips
2018-01-11 16:24:00 -05:00
Mike Blumenkrantz
6b002d58a2
explicitly show sandbox gadget extracted surfaces
...
ensure that these surfaces are made visible if they have not yet been internally
mapped
ref T6443
2018-01-10 14:22:11 -05:00
Mike Blumenkrantz
0568e20ba5
use SIGTERM for closing all sandbox gadgets, SIGUSR2 for removing gadgets
...
this should be more usable
2018-01-09 14:41:14 -05:00
Mike Blumenkrantz
83f77b0156
use SIGINT when closing sandboxed gadgets
2018-01-09 10:01:32 -05:00
Mike Blumenkrantz
d2c85e5471
Revert "add sandbox gadget event to indicate gadget removal"
...
This reverts commit 6549353b53
.
I had forgotten that this is already handled by other means
2018-01-09 09:57:36 -05:00
Mike Blumenkrantz
6985df9058
throw unconfigured buffer error as necessary in wl_surface.commit
2018-01-08 11:53:52 -05:00
Mike Blumenkrantz
beb6922a17
always throw error in wl_surface.commit for unparented popup surfaces
2018-01-08 11:52:58 -05:00
Mike Blumenkrantz
5cc08794ee
handle passed output resource for xdg-shell fullscreen request
2018-01-08 11:14:05 -05:00
Mike Blumenkrantz
f34c780db3
print error when failing to unlink efm/eeze mount point after unmount
...
CID 1382955
2018-01-08 10:46:25 -05:00
Mike Blumenkrantz
6ad75a5e85
protect against null deref when emitting efm/eeze error messages
...
CID 1382954
2018-01-08 10:46:25 -05:00
Mike Blumenkrantz
b9a9bd1da9
refactor E_Storage finding for efm/eeze volumes in backend
...
CID 1382951
2018-01-08 10:46:25 -05:00
Mike Blumenkrantz
c662eab434
add sandbox gadget event to indicate gadget configure
...
ref T6443
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
8bd02aca70
set runner gadget instance data to gadget object, not sandbox object
...
fixes crash when configuring gadget
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
6549353b53
add sandbox gadget event to indicate gadget removal
...
ref T6443
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
81891eeb8e
explicitly tag sandbox gadget instances as such
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
a8ebefcb68
use only required wayland protocol files for gadget loader build
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
99f1f21665
only use first-added window for gadget interfaces in sandboxing
...
popups and tooltips are not valid for gadget api use, only the base window
for a gadget should receive/use gadget methods
2018-01-05 12:33:39 -05:00
Mike Blumenkrantz
e78c1843ae
handle tooltips in sandboxed gadgets
...
fix T6335
2018-01-05 12:33:39 -05:00
Thanatermesis
3d9044a9fc
improved default size for icons in menus that looks pixelated
2018-01-04 20:22:42 +00:00
Ross Vandegrift
629f7d41c8
clean up .desktop files and misc typos
...
Summary:
Drop deprecated Encoding key from desktop files
The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded. See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html
Fix various typos and misspellings
lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries. This change fixes the ones it identified in 0.22.1.
Reviewers: zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5585
2018-01-04 09:57:52 -05:00
Derek Foreman
2a7312d2bc
Fix potential NULL pointer dereference
...
CID 1382953
2017-12-21 09:54:42 -06:00
Al Poole
481a4d6611
build: fix meson build on FreeBSD.
...
Summary: -Dsystemd=false and -Ddevice-udev=false with this.
Reviewers: raster, zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5648
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-12-15 11:32:20 -08:00
Carsten Haitzler
4f26b4b1dd
e come client - actually set placed more generally...
...
previous fix... was not general enough. put this outside the if that
only places if props change or size pos hints need fetching.
@fix
2017-12-14 23:10:58 +09:00
Amitesh Singh
4d340f2114
Revert "re-enable building against latest efl git"
...
This reverts commit a782beba82
.
the legacy API was missing. I added it in EFL now.
Refer 1264fb4af2 in EFL.
Fixes T6500
2017-12-13 13:45:35 +09:00
Chris Michael
a782beba82
re-enable building against latest efl git
...
In EFL git head, this function has changed to be just
evas_object_coords_inside_get. This patch wraps the two different
function names around an #ifdef so we can check EFL version that we
are building against and call the correct function accordingly.
Fixes T6500
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-12 10:19:37 -05:00
Marcel Hollerbach
45aeda7843
build: enable -lintl if we find it
...
otherwise translations are not working
2017-12-11 15:47:33 +01:00
Carsten Haitzler
a2740126f1
e client - fix initial placement of override redirect windows in x....
...
several override redirect windows are being forcibly re-placed by e.
they should not be. ever. this affects scim's IM panel i see and
chromium's menus. it probably affects more than this. this fixes both
of these cases for sure. probably more.
@fix
2017-11-26 00:28:31 +09:00
Mike Blumenkrantz
bd88282047
remove autotools
2017-11-20 07:05:36 -05:00
Carsten Haitzler
9fe7343180
fix mouse hangs after unblank
...
this fixes T5883
2017-11-14 18:15:26 +09:00
Derek Foreman
db9e70708a
Make e_gadget_runner.c compile on efl 1.20
...
It won't work, but it won't fail to build. Temporary hack until 1.21
is released.
2017-11-09 12:39:24 -06:00
Mike Blumenkrantz
8b798d9fb0
move x11 client re_manage code into corresponding NEW_CLIENT hook
...
setting desk after e_client_new() completes is too late, as a desk will have
been automatically set by this time and any existing positioning data will
have been mangled in the process
fix T6317
2017-11-08 09:29:35 -05:00
Mike Blumenkrantz
f05b26c8a3
set zone/desk for clients after creating comp object
...
previously this resulted in attempting to move the comp object before it
was created, but evas does not throw any errors when null is passed and so
it was never noticed
fix T6317
ref T6326
2017-11-08 09:29:28 -05:00
Mike Blumenkrantz
a7d5920ba6
unset E_Client->changes.pos for re_manage clients
...
I think this was unintentionally working around a placement bug?
2017-11-08 09:28:52 -05:00
Mike Blumenkrantz
99db9e2557
more E_BITFIELD conversions
2017-11-08 09:22:24 -05:00
Mike Blumenkrantz
791f70541d
unify meson version requirements for efl
2017-11-07 10:41:45 -05:00
Mike Blumenkrantz
19a807bdb2
always emit E_EVENT_COMP_OBJECT_ADD events
...
fix T6322
2017-11-07 10:40:12 -05:00
Mike Blumenkrantz
e7cfd06675
avoid performing client rescales during shutdown
2017-11-07 10:40:00 -05:00
Mike Blumenkrantz
59fa0e418d
use E_BITFIELD define for bitfield struct members
...
on release builds this will be a bitfield, on devel builds it will make
bools a normal unsigned char for easier debugging
2017-11-07 10:39:56 -05:00
Mike Blumenkrantz
f78eb3c108
requeue client for render if show animation completes and damages exist
...
attempt to catch clients which have a render queued prior to the image
becoming visible
2017-11-07 10:39:33 -05:00
Mike Blumenkrantz
dde4bafd7f
add field width limits to all fscanf params in e_intlc.
...
fix T6316
2017-11-07 10:39:17 -05:00
Carsten Haitzler
147bc7a6da
e comp object - patch volume update case for propagating state signals
...
complete f161edc3f3
with missing update
case
@feature
2017-11-07 16:16:33 +09:00
Carsten Haitzler
f161edc3f3
comp object -> propgate signals to the volume objects from the frame
...
if frame changes (eg by focus signals) the volume object cant adapt.
send signals to it too so it can adapt if it wants to.
@feat
2017-11-07 15:41:35 +09:00
Carsten Haitzler
4f5067dde9
hits: silence warnings about possible null string for strcmp
2017-11-06 11:19:39 +09:00
Carsten Haitzler
dd9a6637e4
e sys - frix warning for less noise
...
though act will not be set unless mnt is also true... this means less
noise from compiler wanrings so we can focus on real errors.
2017-11-06 10:24:37 +09:00
Mike Blumenkrantz
b40398ab30
make autotools build depend on protocol xml files to pull in changes
2017-11-03 14:01:17 -04:00
Mike Blumenkrantz
aeee701b63
fix undefined symbols on autotools+wayland build
2017-11-03 14:01:14 -04:00
Mike Blumenkrantz
ecb0370ea9
save sandbox gadget configs when saving normal gadget config
2017-11-03 13:51:41 -04:00
Mike Blumenkrantz
2e81e5f8de
disable sandbox gadgets if loader cannot be found on startup
2017-11-03 13:51:12 -04:00
Mike Blumenkrantz
b8f8c42aec
make wl_pointer cursor handling state-based to correctly handle cursor visuals
...
this fixes a lot of corner cases such as apps which set their cursor before
receiving pointer.enter events
2017-11-03 13:21:57 -04:00
Mike Blumenkrantz
58e686caec
show internal pointer cursor whenever resetting to internal cursor
...
don't rely on efl internals for this
2017-11-03 13:19:54 -04:00
Mike Blumenkrantz
f4470e002e
add gadget sandboxing
...
docs in progress, tasks https://phab.enlightenment.org/project/board/179/
2017-11-03 11:47:35 -04:00
Mike Blumenkrantz
9302f23a56
bump efl pc required version
2017-11-03 11:43:07 -04:00
Mike Blumenkrantz
3ddd090173
fix non-pam build with meson
2017-11-01 14:04:06 -04:00
Mike Blumenkrantz
577f62e9b1
pass key downs through xkbcommon
...
bad copy/paste in 984a1facd9
2017-11-01 13:20:19 -04:00
Mike Blumenkrantz
b5320b6246
explicitly free client animation agent object during fullscreen operation
...
ensure that animations do not persist after fullscreen state has been set
2017-10-31 12:04:48 -04:00
Mike Blumenkrantz
0f216c7e95
handle more mouse buttons under wayland
...
this was incorrectly referenced from weston's x11 compositor, which directly
uses xcb events and sends them as wl_pointer events. efl translates all input
events to use the same button scheme numbering, coincidentally enabling the use
of this code for all backends
2017-10-30 10:51:20 -04:00
Mike Blumenkrantz
47df20207d
block wl modal window destructor from intercepting xwl modal windows
...
failing to pass these to the xwl destructor breaks the xserver
ref T5593
2017-10-30 10:29:39 -04:00
Mike Blumenkrantz
ac49e6de22
unset xwayland client changes.pos flag during xwl->wl switch if client is unplaced
...
fixes some initial client positioning issues
2017-10-30 10:29:39 -04:00
Carsten Haitzler
4f8e3acfcf
nvidia driver workaround atexit handlers for pam auth
...
this works around an apparently atexit() handler in nvidia drivers
that if you fork() a parent and do NOT exec() then the child process
will end up messing with the parent processes access to the nvidia
devices/display/whatever i believe via an atexit() handler because
moving from exit() to _exit() solves the issue. fixes T6197
@fix
2017-10-30 13:11:06 +09:00
Carsten Haitzler
3daf3ac456
e main - xdg runtime dir fixup - dont overwrite same buffer
...
this path i never saw triggered before on linux because xdg runtime
dir is set... but if it isn't... dont mess up the runtime dir path
@fix
2017-10-28 23:43:50 +09:00
Mike Blumenkrantz
3d701839b6
send wl pointer leave for deleted clients if viable
2017-10-27 13:21:03 -04:00
Mike Blumenkrantz
bbb3ec1fc5
unset client's mouse-in state on mouse out even while fullscreen or deleted
...
the state should always be updated regardless of these attributes
2017-10-27 13:21:03 -04:00
Carsten Haitzler
32be41d505
ptr grab/ungrab for blank/unblank - log stages and work done for debug
...
looking to get more info for what is going on...
2017-10-26 10:50:37 +09:00
Derek Foreman
930cf317d6
Clear stored root window id when shutting down X
...
Currently e_comp_util_has_x() will still return true after the X
machinery is shut down - this can lead to crashes on logout under
wayland when xwayland apps are running. Clearing the root window
id resolves this.
@ref T5593
2017-10-25 10:45:05 -04:00
Mike Blumenkrantz
c09b2f35dd
add client refs for volume control sinks
...
ref T6150
2017-10-25 10:45:05 -04:00
Mike Blumenkrantz
40be5b9d45
move x11 compositor cleanup into shutdown function
2017-10-25 10:45:05 -04:00
Derek Foreman
680b7b485d
Fix xwayland related crash when mousing out of a window
...
XWayland likes to set a buffer on the cursor surface then delete it before
we release it. I'm pretty sure when a client does that we're within spec
to just kill it, but users will likely find this response ungratifying.
So, instead, just gracefully fail to render the undefined surface.
@ref T5593
2017-10-24 13:57:00 -05:00
Mike Blumenkrantz
02ea045ca7
cancel wl selections after removing destroy listener
...
cancel may destroy the selection source, resulting in invalid access
==10735== Invalid write of size 8
==10735== at 0x87C8095: wl_list_remove (wayland-util.c:56)
==10735== by 0x2EE745: _e_comp_wl_data_device_selection_set (e_comp_wl_data.c:506)
==10735== by 0x2EF241: _e_comp_wl_data_device_cb_selection_set (e_comp_wl_data.c:714)
==10735== by 0x1021F037: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x1021EA99: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x87C70C0: wl_closure_invoke (connection.c:935)
==10735== by 0x87C13C8: wl_client_connection_data (wayland-server.c:406)
==10735== by 0x87C4483: wl_event_source_fd_dispatch (event-loop.c:90)
==10735== by 0x87C4DE4: wl_event_loop_dispatch (event-loop.c:423)
==10735== by 0x85AE346: _cb_create_data (ecore_wl2_display.c:399)
==10735== by 0x946857A: _ecore_call_fd_cb (ecore_private.h:347)
==10735== by 0x946AE51: _ecore_main_fd_handlers_call (ecore_main.c:2015)
==10735== by 0x946B823: _ecore_main_loop_iterate_internal (ecore_main.c:2403)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
==10735== Address 0x222ca980 is 16 bytes inside a block of size 136 free'd
==10735== at 0x4C2CE1B: free (vg_replace_malloc.c:530)
==10735== by 0x2F076F: e_comp_wl_clipboard_source_unref (e_comp_wl_data.c:1291)
==10735== by 0x214C6A09: _xwayland_send_cancelled (dnd.c:149)
==10735== by 0x2EE71D: _e_comp_wl_data_device_selection_set (e_comp_wl_data.c:504)
==10735== by 0x2EF241: _e_comp_wl_data_device_cb_selection_set (e_comp_wl_data.c:714)
==10735== by 0x1021F037: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x1021EA99: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x87C70C0: wl_closure_invoke (connection.c:935)
==10735== by 0x87C13C8: wl_client_connection_data (wayland-server.c:406)
==10735== by 0x87C4483: wl_event_source_fd_dispatch (event-loop.c:90)
==10735== by 0x87C4DE4: wl_event_loop_dispatch (event-loop.c:423)
==10735== by 0x85AE346: _cb_create_data (ecore_wl2_display.c:399)
==10735== by 0x946857A: _ecore_call_fd_cb (ecore_private.h:347)
==10735== by 0x946AE51: _ecore_main_fd_handlers_call (ecore_main.c:2015)
==10735== by 0x946B823: _ecore_main_loop_iterate_internal (ecore_main.c:2403)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
==10735== Block was alloc'd at
==10735== at 0x4C2DC05: calloc (vg_replace_malloc.c:711)
==10735== by 0x2F0520: e_comp_wl_clipboard_source_create (e_comp_wl_data.c:1231)
==10735== by 0x214C71C9: _xwl_selection_notify (dnd.c:286)
==10735== by 0x946130C: _ecore_call_handler_cb (ecore_private.h:331)
==10735== by 0x94626BC: _ecore_event_call (ecore_events.c:629)
==10735== by 0x946B83E: _ecore_main_loop_iterate_internal (ecore_main.c:2408)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
160d6b91a0
null wl clipboard+selection source pointers when destroying clipboard source
...
fix T6242
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
b24b68df77
set null input regions for surfaces upon calling set_cursor or start_drag
...
these surfaces have no input region according to spec
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
5cab9486f3
ignore set_input_region requests for wl surfaces which are cursors or drags
...
according to spec this is correct behavior
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
b3356a7e8f
do not unqueue render when deleting a client's render update
...
a render loop may run for reasons other than rendering a specific client
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
ef69fabd47
add client refs for the nocomp client
...
this client may be referenced after deletion during render loop
fix T6151
2017-10-20 13:40:20 -04:00
Carsten Haitzler
0fada40917
smart suspend - honor suspend on ac or not flag as it should
...
so if you closed the lid ANd didn't have external screens ANd had ac
plugged in ... e would suspend even if youdidn't have "suspend on ac"
checked in blanking dialog. respect this and handle it properly.
@fix
side note... i've notced acpid no longer reporting lid events on one
of my systems. this is very sucky. you now have to open
/dev/input/event2 (this may vary from device to device) to get lid
events... it's an input device. this means elput needs to start doing
this as we cant get power button or lid events anymore .... and we may
have to do this for x11 too.
2017-10-18 13:33:47 +09:00
Mike Blumenkrantz
f20765df67
add render update when showing clients if damages exist
...
ensure that these clients render as expected
ref T5593
2017-10-13 09:46:19 -04:00
Mike Blumenkrantz
fd68c99b64
always use e cursor theme for canvas pointers
...
canvas pointer = wl compositor pointer = always use e theme since there is no
loader for x11 cursors
2017-10-09 07:09:38 -04:00
Mike Blumenkrantz
caab810b39
check for non-wl compositor when forcing application cursors onto pointers
...
comp_type is not set during initial pointer creation on startup but will be set at
the point of xwl startup, so use a check which will succeed
fix T6157
ref 2b8c70fe98
2017-10-09 07:09:38 -04:00
Mike Blumenkrantz
03982a1408
Revert "do not apply enlightenment cursor theme for xwayland clients"
...
This reverts commit 80abcc5600
.
sort of worked, sort of irrelevant
2017-10-09 07:09:38 -04:00
Carsten Haitzler
b60ff200e9
e sys - handle phantom wakeups from sleep on some devices
...
this laptop wakes from suspend if you plug or unplug it while
suspended. this leads to bad things. fix nthis by checking lid state
and resuspending if this happens.
@fix
2017-10-07 20:28:24 +09:00
Mike Blumenkrantz
d7a08ed74e
block relative motion event sending when pointer is outside input area
...
stop sending events to xwl clients at all times
2017-10-05 12:26:19 -04:00
Mike Blumenkrantz
80abcc5600
do not apply enlightenment cursor theme for xwayland clients
...
wayland always uses the client's cursor, so maintain that consistency
2017-10-05 11:42:24 -04:00
Mike Blumenkrantz
2b8c70fe98
set default cursor on root window for xwl pointer
...
ref T5593
#TheDisappointer
2017-10-04 14:09:35 -04:00
Mike Blumenkrantz
8121f20a03
handle x11 shaped input under xwayland
2017-10-03 14:59:47 -04:00
Mike Blumenkrantz
b686f3871d
add max size input rects for wl clients on creation
...
according to spec, surfaces begin with infinite input area
2017-10-03 14:40:36 -04:00
Mike Blumenkrantz
9983172f32
set comp object alpha state when applying native surface
...
ensure that alpha is set accurately for the native surface
2017-10-03 14:40:03 -04:00
Mike Blumenkrantz
4d76f409f8
block gadget configuration unconditionally while desklock is active
2017-10-03 13:52:44 -04:00
Mike Blumenkrantz
031b0bdc60
deduplicate global gadget handler variables
...
ref T6125, T4648
2017-10-03 13:50:16 -04:00
Mike Blumenkrantz
d7060c7c6f
redo bryce eventing
...
post events are way harder and I don't know why I didn't do this in the
first place?
fix T5974
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
6f186db24b
clamp expanding gadget size to 0 to prevent sizing overflows
...
if the expanded size is negative then the size should be 0 and the gadget is
not visible
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
7c726172e4
handle gadget site layouts using accurate parent geometry
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
42d707909e
simplify focus on commit block for wl clients
...
none of this applies to popups
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
001085f349
do not set E_Client->take_focus for popup wl clients
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
984a1facd9
pass keys through xkbcommon under wayland lockscreen
...
ensure that key states are retained when unlocking
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
4ae2145330
move gadget editor help text onto the editor popup
...
ref T4648
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
2d2ad13537
add comp object function to get the content of a util_add object
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
129bb14d2d
don't show xwayland clients unconditionally on commit
...
ensure that the client's desk is visible
fix T6024
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
1d5977c02a
do not unnecessarily rescale clients
...
this function is mainly for rescaling maximized/fullscreen clients to fit new
dimensions, so don't call on other clients since this can trigger unwanted resize
events
2017-09-28 13:03:37 -04:00
Mike Blumenkrantz
15ea006eb5
block client rescales during render updates
...
this guarantees misrenders
2017-09-28 13:03:37 -04:00
Mike Blumenkrantz
80349d417d
Revert "do not perform client moves during comp updates"
...
This reverts commit def2b0c5fc
.
breaks some resize directions
2017-09-28 13:03:37 -04:00
Stephen 'Okra' Houston
bb4d69519f
E Exe: Semi revert 2082bb51d3
. The ref count was off to begin with.
2017-09-26 22:11:21 -05:00
Stephen 'Okra' Houston
2082bb51d3
E Exe: Since we no longer ref clients in the phony cb, don't free them after reffing them in instance_client_add.
2017-09-26 22:01:15 -05:00
Derek Foreman
a85a602a39
Revert "Set close on exec for stdin"
...
This reverts commit 40e8bb044c
.
EFL master solves this properly
EFL stable currently has a bug that solves this accidentally
so there's a window of about 3 commits in git where it's a problem,
and nobody should run those commits in production :)
This fix caused some problems when restarting E, as stdin would
cloexec and then the following startup would try to set cloexec
on an invalid fd and generate an err that generated a cri because
of an invalid log domain.
Someone should probably figure out the log domain thing.
2017-09-26 14:19:24 -05:00
Derek Foreman
f4f08ee99a
Stop queuing wl_buffer release events
...
Now we just kick them out immediately.
2017-09-26 11:41:19 -05:00
Mike Blumenkrantz
1f650605a0
emit E_EVENT_EXEC_NEW_CLIENT with phony exes
...
partially fix T6071
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
576c8d0864
use client geometry for visibility effect geometry, not comp object geometry
...
clients may defer object geometry setting, resulting in unreliable values here
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
3b319b5ef9
don't do full client rescale on x11 hint change if not maximized/fullscreen
...
regular windows don't get moved here, only resized if hints change
fix T6072
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
8d55575bcf
remove input-only client fastpath to resize crashes
...
ref T6023
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
def2b0c5fc
do not perform client moves during comp updates
...
this can trigger zone changes, which triggers resizes, which is bad
ref T6023
2017-09-26 12:26:18 -04:00
Derek Foreman
51c492fcad
use safer ecore_exe flags that close stdin/out/err more often
...
commit b9d166f804
introduced
safer exe functions that both prevent a child from having E's
stdin/stdout/stderr and ensure the child's fd 0 (and 1 and 2) are
"valid" file descriptors (to work around some buggy software that
assumes 0 is an invalid file descriptor)
This commit uses the safer functions when launching child programs from
the desktop menu as well.
ref T5606
@fix
2017-09-25 10:10:49 -05:00
Carsten Haitzler
b9d166f804
use safer ecore_exe flags that close stdin/out/err if possible
...
this is specifically needed for wayland but is relevant to x with
startx too ... dont let processes that e runs like apps inherit
stdin/out/err as it may be a tty and thus allow apps to do nasty
things with that tty.
@fix
2017-09-23 23:10:35 +09:00
Derek Foreman
40e8bb044c
Set close on exec for stdin
...
ref T5606
2017-09-22 21:02:32 -05:00
Derek Foreman
077ae06955
Fix wayland frame callback failure
...
Turns out ecore_animator_add() can randomly pick the wrong canvas to use as
a tick source. Using EFL_EVENT_ANIMATOR_TICK on the compositor evas instead
will ensure we don't accidentally pick an internal window for a tick source.
Fix T6070
2017-09-22 17:00:25 -05:00
Mike Blumenkrantz
4d0ceeb02c
add fd passing to aux hints protocol
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
5694d7af96
add action router action to route specific key presses to specified clients
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
5da5418873
add a client parameter to wl key down/up event processing functions
...
if passed, send the event to the specified client
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
92614d0c69
store the currently active key binding as an accessible variable
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
8cc46fb201
make e_bindings_modifiers_from_ecore() an externally usable function
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
11a08ebc30
don't perform zone updates on client resize
...
zone updates should probably only happen on client moves, not resizes
ref T6023
2017-09-21 13:31:01 -04:00
Chidambar Zinnoury
0666cd7249
e menu: Fix missing realize when using key-activation to the right.
...
See commit 474463ef6c
, SVN r39698.
2017-09-19 12:50:39 +02:00
Chidambar Zinnoury
0adec92696
e about: Year++.
2017-09-18 22:57:06 +02:00
Mike Blumenkrantz
62acd53a96
avoid div by 0 in gadget layout
...
CID 1381165
2017-09-15 12:16:48 -04:00
Mike Blumenkrantz
98dbaa9090
fix clickable edge binding activation with other mouse buttons
...
check for the button specified in the binding, not whether the event
contains a click
fix T4510
2017-09-14 15:00:50 -04:00
Mike Blumenkrantz
00daafac10
flag zone/edge mouse binding activation with ON_HOLD
...
ensure multiple bindings aren't triggered by the same event
2017-09-14 14:59:14 -04:00
Mike Blumenkrantz
283a1cd620
handle unmovable gadgets in gadget move action
...
a gadget which refuses to create a duplicate of itself can be considered
immobile
fix T5998
2017-09-14 14:38:14 -04:00
Mike Blumenkrantz
49e2a31cfc
block recursive mouse eventing in bryce action handlers
...
ensure that only the outermost event adds a post callback to avoid
triggering actions multiple times
2017-09-14 14:37:12 -04:00
Mike Blumenkrantz
ccd374e6a2
add some hidden boxes to use as gadget popup hover parents
...
boxes get resized with zone useful geometry to ensure the content is always
on screen and visible
fix T5945
2017-09-14 14:00:39 -04:00
Mike Blumenkrantz
9727710647
hide clients again after show in idler if clients are on hidden desk
...
clients need initial show to correctly handle mirror visibility but should
then be hidden again
ref 0ee8cc896e
fix T6024
2017-09-14 12:45:45 -04:00
Mike Blumenkrantz
b77e01e1dd
use EC_CHANGED when setting changed flag in client idler
2017-09-14 12:43:15 -04:00
Carsten Haitzler
6972a97d5d
e start - fix path prepend/append if already in path assuming clue
...
"
I have a directory at the head of my PATH that contains alternate
versions of command line utils like grep, ls, etc., but E puts
/usr/bin ahead of it, overriding my tools of choice with the system
defaults.
If my understanding is correct, the only way currently to have
directories that E prepends to your PATH appended instead is to use
-i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it.
I'd like to see a more sane option if there isn't one already.
Alternatively, I wonder if it wouldn't be a better idea to only
prepend directories to PATH if they aren't already contained within
it--thereby preserving the user's desired search order.
"
this should fix T5953
@fix
2017-09-13 18:32:38 +09:00
Mike Blumenkrantz
a5bb9932ee
revert gadget ctxpopup autopositioning attempts
...
I don't think this method would ever have worked reliably
This reverts commit 6f1b75e87b
.
This reverts commit 84e999f5f3
.
2017-09-12 14:37:53 -04:00
Mike Blumenkrantz
6bd97ced9b
handle gadget site layout when last gadget in site is a spacer
2017-09-12 13:36:39 -04:00
Mike Blumenkrantz
20ea0ed150
add/use helper function for rescaling individual clients
...
in any case where client needs to be rescaled to use new screen geometry
certain things must happen, such as handling shaded state and forcing the
new geometry to be applied
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
4f28e49f46
handle shade <-> unshade toggling in same frame
...
this should result in a no-op instead of a fail-op
fix T6006
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
500b9a2eb2
use animator del function to delete comp object animators
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
721eeb994e
make spacer gadgets smarter when multiple spacers exist
...
* ignore consecutive spacers
* attempt to size/fill consistently based on occupied space
fix T5973
2017-09-12 13:21:04 -04:00
Carsten Haitzler
9eebe065c2
e powerszve - fix sleep timeout for select to be correct
...
bad inverse fmod and using int not double first before converting to
microseconds...
2017-09-12 11:03:50 +09:00
Al Poole
b304e77f64
filepreview: unbreak netstar's changes.
...
The previous broke the video preview size. Was too complicated.
Generally just sucked. This is simpler. I don't want to touch
this again. Sorry!
2017-09-10 22:41:09 +01:00
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
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
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
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
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
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
Mike Blumenkrantz
df1e21b120
reset zone edge objects after comp canvas update
...
fix T5969
2017-09-01 13:54:54 -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
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
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
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
Mike Blumenkrantz
2afaea3b49
remove e_util_pointer_center()
...
this is yet another utility function which duplicates code from elsewhere and
does it incorrectly
fix T3164
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
9076301213
use focus_set_with_pointer to focus from clients menu (middle click)
...
fixes pointer warping for this case
2017-09-01 13:40:11 -04:00
Carsten Haitzler
9ae24a3a4a
e client focus - fix focus if moving focused window to new desk - long
...
fix client focus the very very very long way vs
418319fc94
2017-09-01 19:29:03 +09:00
Derek Foreman
42d3e30f5c
Handle wayland frame commits with no surface damage better
...
Previously we immediately kicked back the frame callback when a client
sent a surface frame without damage. This let clients that use frames
for timing proceed, but they generally just send another frame right
away and spin in this way until they reach their intended render time.
Now we use animators so the frame callbacks will be limited to the
animator tick source's frequency.
ref T5850
2017-08-31 14:44:58 -05:00
Carsten Haitzler
418319fc94
e client focus - fix focus if moving focused window to new desk
...
if the window being moved to a new desktop is focused, then ensure
after the move to restore focus to the last focused in the focus stack
for this desk to something stays focused.
@fix
2017-08-30 16:13:50 +09:00
Carsten Haitzler
5ec93f15ff
e actions - add actions for moving focus around - feature request
...
was simple. winlist already had it. added action to focus next/prev or
up/down/left/right. useful for tiling... :)
@feature
2017-08-29 20:31:30 +09:00
Mike Blumenkrantz
1d72713dc0
use int array for client maximize hint state update
...
CID 1379946
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
e707576e81
check returns for read/write to powersave fds
...
CID 1379942
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
8717a4a020
initialize stack variables
...
CIDs 1379939, 1379943
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
43d837d681
don't pretend randr mode can be null when it can't
...
CID 1379945
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
c7c4470ae0
force client render on mirror show for clients which have not yet been rendered
...
this is the same mechanism in e_comp_object_dirty() which applies now if a
mirror is created for a previously-dirty client
fix T5937
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
a188c4751c
Revert "handle updates_full when adding comp object update regions"
...
This reverts commit fac907e0c5
.
this was already handled and I'm dumb.
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
fef7941083
set elm profile to match e profile during startup
...
this is actually broken, as is entire the concept of using mixed e+elm configs.
if a user manually changes the profile, e.g., for a single app, then this will
overwrite the global profile name. similarly, setting the profile in this manner
overwrites the global profile, causing all existing apps to switch to that profile
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
1902befc92
Revert "force recalc on bryce scroller when doing recalc on gadget site"
...
This reverts commit 87515abd2a
.
this breaks scaling since the min size must be reset in order to trigger a
resize
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
175c614838
add spacer gadgets for bryces
...
this is a rectangle which dynamically resizes based on the available space
in the bar. it can only be added when autosize is disabled, and setting
autosize will remove all spacers
fix T5914
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
2e0638e87a
check whether gadgets are elm objects before calling elm functions
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
f806dae1e1
track setxkbmap processes and allow only one to run at a time
...
fix T5188
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
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
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
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
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
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
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
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
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
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
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
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
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