Commit Graph

14832 Commits

Author SHA1 Message Date
Mike Blumenkrantz d5ce4e0517 more commented out debug lines for comp object 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 9201ac12d4 resize pending update tiler during size update
another tiler gets merged a few lines down and clipping is bad
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 2943d88042 only set shape merge/export flags for non-override clients on resize 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 199882ea25 disable shadows for override clients with alpha 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 6b246c7c8a clean up comp object autoclosing when overwriting existing autoclose object 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz e23019825e set syscon popup layer before autoclose 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 9a3ea2d1bb use regular comp grabs for menu 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz aad88716a4 fix compositor grab tracking
it's possible to have multiple/recursive grabs, so the number of grabs active needs to be tracked

T820
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz b363dc802d use client fullscreen flag to determine current fullscreen state
T834
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz fdc3d29899 bugfix: remove drop handlers from responsive hash on deletion 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 3e0cbdc441 bugfix: efm dnd to external windows
deleting the drag at this point deletes the window which owns the current selection, guaranteeing that the operation will fail

T797
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz d86051ff82 bugfix: multiple drop handlers using same window no longer overwrite each other 2014-01-22 22:14:33 -05:00
Mike Blumenkrantz 2dac967604 shadow checks for overrides only need to check for shaped and comp match
T833
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz db7a1f6df3 force prerendering for internal clients
we can assume that these are always going to be ready for drawing immediately, and sometimes X fucks up the damages so it's best to go with the full frame from the beginning
2014-01-22 22:14:33 -05:00
Carsten Haitzler 15abb86bea efm - emit signal to icon when rename starts/ends
this, along with theme updates in elm should fix T799
2014-01-22 18:31:49 +09:00
Carsten Haitzler 6a39d27a51 fix connman check by not failing al the time on owner check
fixes T804
2014-01-22 17:50:57 +09:00
Carsten Haitzler 8285b8ea6b shot - check zone null before using 2014-01-22 12:27:00 +09:00
Mike Blumenkrantz a8d3a0e57f emit backlight changed event for X backlight events 2014-01-21 17:26:21 -05:00
Mike Blumenkrantz 3ccdd6ab32 bugfix: backlight double comparison now less likely to fail 2014-01-21 17:08:49 -05:00
Mike Blumenkrantz 0f938c9b78 do Xrandr backlight updates in place upon recieving events instead of looping all outputs 2014-01-21 17:07:21 -05:00
Mike Blumenkrantz 84a3eb7af0 make current backlight value internally exported
display system backends should be handling this in the event of changes, and being able to set it directly makes that easier
2014-01-21 17:06:27 -05:00
Mike Blumenkrantz 215c0409e0 feature: handle xrandr backlight using a single, accurate handler
there's an event from ecore-x which tells us when this property has changed, which means we no longer have to be constantly checking to see if other apps have changed it
2014-01-21 16:48:09 -05:00
Mike Blumenkrantz d2f9a2efbf cleanup frame icon upon failing to use it 2014-01-21 09:32:02 -05:00
Carsten Haitzler 9b4b003c40 make example/syntac for app action useful. 2014-01-21 21:30:17 +09:00
Carsten Haitzler b399b6a9ca e shot - allow params to share/save now (also specify quality and screen) 2014-01-21 21:21:13 +09:00
Mike Blumenkrantz bec5d1fe51 backlight update loop cleanups
* do null check before adding to device list

* use name length from ecore_x_randr_output_name_get()
2014-01-20 22:21:40 -05:00
Mike Blumenkrantz 3addb45e79 fix fullscreen client place/adjust 2014-01-20 21:33:11 -05:00
Mike Blumenkrantz 0be9442140 only call ecore_x_randr_output_backlight_available() once in backlight 2014-01-20 21:30:38 -05:00
Mike Blumenkrantz a310de50c8 block backlight updating during animation
updating backlight in this context causes my backlight to never return to normal levels, and blocking it doesn't seem to be unreasonable here
2014-01-20 21:05:51 -05:00
Mike Blumenkrantz 3ae9e394ec add back first_draw_delay timer for X clients
this is a safety timer to handle the case of "what happens if a new client only ever sends one damage during its startup"
2014-01-20 19:03:50 -05:00
Mike Blumenkrantz 69d3e02638 ignore first damage for X clients
when not dealing with a re_manage client (persisting from previous E instance), we're almost definitely going to get multiple full-window damages as a new client starts up. the first damage USUALLY results in a garbage render, so ignoring it makes the first frame become actual window content (good!) or a transparent rect until the client finishes drawing (not good!), which is at least an improvement over showing random pixels
2014-01-20 19:01:04 -05:00
Mike Blumenkrantz 30d6b2e196 remove the black frame render fallback
I think the timing on resizes is perfect now, so we should never need to see this
2014-01-20 18:58:53 -05:00
Mike Blumenkrantz 097331864a clear non-pending updates on resize
this smooths out resizes a barely noticeable amount since these updates (the pending-pending updates) are no longer relevant
2014-01-20 18:58:26 -05:00
Mike Blumenkrantz 4615db497c remove damage from show interceptor
this is a bit broken since an actual damage might not have occurred yet. moderately sure I added it for testing at one point and then never removed it
2014-01-20 18:56:37 -05:00
Mike Blumenkrantz e148451d4f check for pending render updates before doing a black frame 2014-01-20 17:34:12 -05:00
Mike Blumenkrantz 36edca0773 remove unnecessary damage from resize 2014-01-20 17:28:16 -05:00
Mike Blumenkrantz d0713cddb4 fix shading animations
yeeeep it's that simple. should probably move these to edje at some point
2014-01-20 17:27:31 -05:00
Mike Blumenkrantz 52bb6e38e3 unify and improve winlist directional focusing 2014-01-20 16:58:29 -05:00
Mike Blumenkrantz b4a9c55115 attempt to revert focus when iconifying a client 2014-01-20 16:43:47 -05:00
Mike Blumenkrantz 6ef655d2dd feature: blanking options for wakeup on events (urgent + notify) 2014-01-20 16:08:14 -05:00
Mike Blumenkrantz aefaaea57b unify client borderless checks to use util function 2014-01-20 15:12:40 -05:00
Mike Blumenkrantz 8fe70c3d2a fix client geometry when toggling borderless state 2014-01-20 15:12:23 -05:00
Mike Blumenkrantz ed51fa2b96 add client util function for detecting borderless state 2014-01-20 15:11:53 -05:00
Mike Blumenkrantz 02f6dcdf2a set a layer for syscon popup
still working on keyboard....

T818
2014-01-20 11:18:47 -05:00
Carsten Haitzler cd431350a5 e sys - if logout has trouble - resume so user can see dialog 2014-01-20 15:23:30 +09:00
Mike Blumenkrantz b2a56b63b5 packagekit module description gets an upgrade
also because yet another person doesn't like helping me with news entries:

feature: packagekit module for package manager integration
2014-01-20 00:10:05 -05:00
Mike Blumenkrantz d42b24632e also update frame immediately during unmaximize 2014-01-20 00:08:25 -05:00
Mike Blumenkrantz ef2a96eb82 apply frame changes before entering/exiting fullscreen
T816
2014-01-20 00:03:51 -05:00
Mike Blumenkrantz bcee2e34aa break out client frame setting into helper function 2014-01-20 00:00:45 -05:00
Cedric BAIL 04f7b59e11 e: call the right function without depending on ld to figure it out (mostly wrongly).
As a side note, using an EAPI function from within a module is a call for disaster.
Their is no guarantee from ld that it will be the current top open .so, actually it
is most likely not going to be the case. So it will do a search for the symbol in the
current stack of open .so and the first one to match will be chosen.

I do think it basically prove that current model of Enlightenment module is fairly
borken and error prone. Hope to have time to fix that, but it will involve completely
breaking the API and ABI compatibility of E module.
2014-01-20 13:01:31 +09:00
Carsten Haitzler b48dc88f94 modules - add packagekit to the whitelist of ok modules 2014-01-20 12:04:19 +09:00
Davide Andreoli 7d406706da music-control: fix popup autoclose 2014-01-19 15:03:31 +01:00
Davide Andreoli 28b4375576 PackageKit: EINA_UNUSED++ to warnings-- 2014-01-19 14:55:53 +01:00
Davide Andreoli 4c6326e055 PackageKit: fix popup autoclose 2014-01-19 14:50:32 +01:00
Davide Andreoli d5a89ca177 Put the packagekit module inside the E tree.
The now old emodules/pacakgekit will be removed soon.
Note that you need to update elm as the theme is there.
2014-01-19 11:58:54 +01:00
Mike Blumenkrantz ec8424fb16 remove duplicate shaped client handling 2014-01-19 03:33:40 -05:00
Mike Blumenkrantz 8ce457889e ensure withdrawn state is always set
this is what was breaking shows on things like yakuake
2014-01-19 03:33:39 -05:00
Mike Blumenkrantz 32d4c2f2b9 fix X shape exporting when bounding box changes
this fixes rendering on shaped clients like yakuake and makes them render even more accurately than E18

PS. I hate shape extension.
2014-01-19 03:33:30 -05:00
Mike Blumenkrantz cbfee4f53e uncomment debug function 2014-01-19 00:45:41 -05:00
Mike Blumenkrantz 2e9c1e383d don't add/reset ibar menu hide timer when menu is active
T815
2014-01-18 15:19:42 -05:00
Mike Blumenkrantz 645a3f0b60 correctly fix conf_randr warnings 2014-01-18 15:16:46 -05:00
Mike Blumenkrantz a1d8fd1b6a revert previous "removed" warnings" commit chunk which added more warnings 2014-01-18 15:15:25 -05:00
Carsten Haitzler 35640f88b4 debug remove - sorry. 2014-01-18 19:57:39 +09:00
Carsten Haitzler 0ca6bd8b9d ibar icon menu - set pass events on bg obj until it is fully shown
this needs an elm theme update fyi.
2014-01-18 19:52:58 +09:00
ChunEon Park 7474036140 enlightenment - removed warnings. 2014-01-18 19:37:02 +09:00
Mike Blumenkrantz e757c67b31 hide ibar menu when its gadget menu is opened
one menu at a time.

T744 maybe?
2014-01-17 19:07:11 -05:00
Mike Blumenkrantz a93880ade2 ibar menu now dynamically adds new clients
T744
2014-01-17 19:04:48 -05:00
Mike Blumenkrantz d65ef1412f try grouping phony execs together
this saves a little memory and also makes related eventing more useful
2014-01-17 19:02:56 -05:00
Mike Blumenkrantz 49b9a2ea2a break out ibar menu population into separate function 2014-01-17 18:27:55 -05:00
Mike Blumenkrantz 312a53e44a further reduce ibar menu hide delay, make delay even shorter when leaving menu
it seems that I always have this thing stuck open for a long period of time after moving my mouse out through it. I suspect that most times when a user moves the cursor out of the menu and does not immediately move it back or to the icon, the menu probably shouldn't hang around. likewise, when it moves out of the icon, maybe we give a little extra time to reach the menu, but not so much that it hangs around if the icon was exited through the side
2014-01-17 18:21:13 -05:00
Mike Blumenkrantz c9d71e4044 add slight delay to ibar menu mouseover showing
this gets really annoying when mousing over the bar quickly and menus start flying all over
2014-01-17 18:19:00 -05:00
Mike Blumenkrantz 92b65633a4 hide mouseover ibar menu after mouse has left
T744
2014-01-17 18:13:03 -05:00
Mike Blumenkrantz 34988ff214 pass events on ibar menu during hide 2014-01-17 18:09:35 -05:00
Mike Blumenkrantz 8f060a22d5 force adding client to raise stack on winlist select 2014-01-17 17:53:05 -05:00
Mike Blumenkrantz c66cdc1416 only add client to raise stack if focus tracking is enabled
focus tracking only gets frozen by winlist, at which point it's most likely that users also don't want the raise stack to be altered
2014-01-17 17:49:10 -05:00
Mike Blumenkrantz eee5bfea9c force X client adjust on frame change 2014-01-17 17:42:12 -05:00
Mike Blumenkrantz 4bebbf08d9 use right object to do frame unadjust when setting theme 2014-01-17 17:41:50 -05:00
Mike Blumenkrantz 43a8bbcc30 don't always raise clients on maximize 2014-01-17 17:41:30 -05:00
Mike Blumenkrantz 999f217f8b set pass events on deleted clients 2014-01-17 11:36:35 -05:00
Mike Blumenkrantz dd34319a19 only deactivate all menus on mouse down if active menu is present
T798
2014-01-17 11:21:20 -05:00
Mike Blumenkrantz 41429d188b fix fullscreen client crash
T796
2014-01-17 10:55:06 -05:00
Mike Blumenkrantz fda2442fe5 enforce correct geometry for client->saved.{x,y}
this is for CLIENT geometry and does NOT include the zone x/y
2014-01-16 20:27:07 -05:00
Mike Blumenkrantz ddc89ad46b reorder some startup stuff to not fail when ecore events haven't been initialized
eta until wayland-fb bug reports start rolling in: -5 minutes
2014-01-16 20:09:45 -05:00
Mike Blumenkrantz a12768c465 quick screensaver blocking hack for non-X instances 2014-01-16 20:09:12 -05:00
Mike Blumenkrantz ab2e108e54 allow client movement on one axis when vertical/horizontal maximized
T741
2014-01-16 15:47:35 -05:00
Mike Blumenkrantz 7e81ff6ec9 fix pager16 drag to desktop postioning
T777, T7888
2014-01-16 12:23:49 -05:00
Mike Blumenkrantz 1ad30b0705 show the compositor overlay window when nocomp mode ends 2014-01-16 12:09:51 -05:00
Mike Blumenkrantz 0c441dfa79 block shape cutting during nocomp 2014-01-16 12:09:29 -05:00
Mike Blumenkrantz 171ad26858 silence some gadcon popup error messages from ibar menu 2014-01-16 11:36:16 -05:00
Mike Blumenkrantz c50eeab227 don't do client stacking remember/event if not redirected 2014-01-16 11:36:16 -05:00
Mike Blumenkrantz 8f99680994 fix ibar menu mouseover crash when dragging 2014-01-16 11:36:13 -05:00
Mike Blumenkrantz a148402b45 reduce ibar mouse out timer length
also since this wasn't done correctly in the original message

feature: ibar now optionaly triggers its menu on mouse in
2014-01-16 11:15:28 -05:00
Mike Blumenkrantz a1cfeaf988 s/e_theme_comp_border/e_theme_comp_frame/g 2014-01-16 11:15:08 -05:00
Mike Blumenkrantz 84b9e9f3ec fix comp style selector signals 2014-01-16 10:53:44 -05:00
Mike Blumenkrantz 8f36162c29 make fileman popups hide more aggressively
T750
2014-01-16 10:37:32 -05:00
Mike Blumenkrantz 68201a8d99 remove old hacks to work around back efm icon eventarea 2014-01-16 10:37:32 -05:00
Mike Blumenkrantz 774ea3efcb fix wizard scaling visuals 2014-01-16 10:37:32 -05:00
Carsten Haitzler f2a5a5f570 ibar - fix collection of segvs dealing with ibar icon menu invalid refs 2014-01-16 21:30:56 +09:00
Carsten Haitzler 00cb30ac6e window icon dnd - make sure icon is properly positioned under mouse 2014-01-16 21:05:57 +09:00
Mike Blumenkrantz f12cdee3ca adjust frame icon drag geometry
T776
2014-01-15 23:11:12 -05:00
Mike Blumenkrantz 18c74cb382 add e_comp_object_frame_icon_geometry_get 2014-01-15 23:11:07 -05:00
Mike Blumenkrantz b0d53be21d fix remember geometry updating
T791
2014-01-15 22:54:08 -05:00
Mike Blumenkrantz 2410660dd1 use current client position for post frame set any time changes.pos is set
T790
2014-01-15 21:14:38 -05:00
Mike Blumenkrantz 17291018db override/placed gets set on compositor side 2014-01-15 21:04:10 -05:00
Mike Blumenkrantz cb5c473786 check/set button for pager window drags
T789
2014-01-15 20:52:27 -05:00
Mike Blumenkrantz 37b6238d33 fix comp style display 2014-01-15 20:39:51 -05:00
Mike Blumenkrantz e58bf33d38 redo pager16 window dragging
T784, T777
2014-01-15 18:52:57 -05:00
Mike Blumenkrantz 25e39aaa2b block deskmirror client visibility changes during drags 2014-01-15 18:52:57 -05:00
Mike Blumenkrantz 4d72f840c9 fix void ptr arith warning 2014-01-15 18:52:57 -05:00
Mike Blumenkrantz a658e4c198 add e_drag_current_get 2014-01-15 18:52:57 -05:00
Mike Blumenkrantz a37bfe3d25 focus clients after pager drag to desktop 2014-01-15 18:52:57 -05:00
Mike Blumenkrantz fb18230b27 block comp queues during hide on shutdown 2014-01-15 18:52:57 -05:00
Chris Michael ab9d8b8d82 Remove unused variable.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-15 22:42:42 +00:00
Mike Blumenkrantz 064362234b use live objects for pager16 window drags 2014-01-15 17:01:45 -05:00
Mike Blumenkrantz 32fd2f1776 fix keyboard move/resize info display 2014-01-15 17:01:44 -05:00
Mike Blumenkrantz 30ef7b217a add e_deskmirror_mirror_copy 2014-01-15 17:01:41 -05:00
Mike Blumenkrantz a33fa26847 only set shape mask if client has been reparented 2014-01-15 14:03:50 -05:00
Mike Blumenkrantz 36e2b03376 X override clients are already placed 2014-01-15 13:51:54 -05:00
Mike Blumenkrantz 047bcd7818 fix netwm sync resizing to account for frame geometry
T778
2014-01-15 12:13:05 -05:00
Mike Blumenkrantz d095b392e9 set netwm sync alarm to right struct member
T778
2014-01-15 12:13:05 -05:00
Mike Blumenkrantz a084217ba9 don't hints on override clients
T772
2014-01-15 12:13:04 -05:00
Mike Blumenkrantz e8e2002804 always set icccm wm state when calling related hints function
T773
2014-01-15 12:13:04 -05:00
Mike Blumenkrantz 51bcc9ad0f remove shadow from client icon drags
T776
2014-01-15 12:13:04 -05:00
Mike Blumenkrantz bd83ae044f add comp settings to configure registry
it's always been in the settings menu, but I forgot to put it into the registry.

T779
2014-01-15 12:13:04 -05:00
Carsten Haitzler 9fbb5def7f deskmirror - set scale factor nicely. 2014-01-15 20:13:47 +09:00
Sebastian Dransfeld 227072c553 randr: remove debug output 2014-01-15 07:06:14 +01:00
Sebastian Dransfeld 93cf4d877d randr: remove unused variable 2014-01-15 07:06:13 +01:00
Sebastian Dransfeld e215a3951e randr: Enable output from settings 2014-01-15 07:06:13 +01:00
Sebastian Dransfeld b140a13314 e_randr: rework 2014-01-15 07:06:13 +01:00
Sebastian Dransfeld ed520d31a1 e_acpi: Add function to get lid status
So we can know lid status without waiting for a lid event.
2014-01-15 07:06:13 +01:00
Mike Blumenkrantz 7656e10f04 don't need to check desklock state on lokker init 2014-01-15 01:02:06 -05:00
Mike Blumenkrantz 8491ceebc0 try locking new desklock interfaces on append if state == locked 2014-01-15 01:01:41 -05:00
Mike Blumenkrantz 4f116acdbf fix lokker install rule 2014-01-15 00:57:37 -05:00
Mike Blumenkrantz 51d111b3ee fix restacking on client lower 2014-01-15 00:09:33 -05:00
Mike Blumenkrantz b493c4dac1 bugfix: unset video flag when failing to find teamwork media 2014-01-14 23:38:39 -05:00
Mike Blumenkrantz 1da25bc254 force accuracy in pager16 aspecting
this was inherited from the original pager module where it didn't matter as much.

T771
2014-01-14 23:20:40 -05:00
Mike Blumenkrantz cd4ed6f4e8 fix bgpreview dynamic updating
T771
2014-01-14 22:50:28 -05:00
Mike Blumenkrantz 9c65093cb4 unblock client lowering
T770
2014-01-14 22:40:18 -05:00
Jean-Philippe Andre 7ffc096341 Mixer: Fix crash when closing mixer settings
app can already be NULL at this point, when called from _cb_win_del().
2014-01-15 12:37:59 +09:00
Mike Blumenkrantz 390b8a5bf5 feature: selective redirection toggling
this toggles redirection on compatible (X) clients while still mostly preserving window frame functionality
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 70d65978c7 add "Enable advanced compositing features" option
this is what I'll be using to conceal various features in the future which should not be used without some understanding of what they do (OR FACE THE CONSEQUENCES)
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz df0173d24c feature: support XPRESENT extension to reduce compositing overhead
xorg 1.15 introduces this extension which has a magical event to notify when a pixmap's size changes, which means that the size never needs to be manually fetched
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 2ee8262ea5 block rendering while screensaver is active 2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 9c5509b236 add versioning to remembers to prevent badness when new properties are added 2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 56ae997976 deduplicate E_Remember edd
what if we weren't insane and didn't have the same exact code in 2 places?
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz e54815a29f e menus no longer use comp shadows 2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 0943d9f7cc remove resize callback on gadcon parent
this sometimes gets called after the gadcon is deleted which leads to a crash
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 6aedd4760d improve bgpreview widget to use livethumb with auto vsizing
this widget gets used in permanent locations now, so it needs to use less memory when possible
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 0b7e5dd371 teamwork protocol modification to work better in wayland
wayland surface ids are stupid, so we need to use uint64_t here to accurately get the window id
2014-01-14 20:29:00 -05:00
Mike Blumenkrantz b85934ef35 add urgency hint test 2014-01-14 20:29:00 -05:00
Mike Blumenkrantz 166ed0d234 feature: new focus option "raise on revert focus"
this option provides the functionality which was intended by the old and broken "raise on focus" option. it raises windows ONLY when reverting focus in cases not directly triggered by the user or any application
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz c081cee34d remove e-specific theme config members 2014-01-14 20:28:59 -05:00
discomfitor 3b15315764 feature: add PIN-style desklock for lokker module
accessible from the normal screen lock dialog
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz 235c369adf feature: make desklock hookable, break out current desklock into module, move pam stuff to separate file
after this commit, the new-but-invisible module "lokker" (or other custom loaded module) is in charge of creating all graphics for the lock screen, and it will be added to the user's config. failure to load a lockscreen module will just result in a black screen

desklock subsystem now handles all the pre/post lock stuff while the modules themselves are responsible for creating visuals and calling auth functions to determine whether to unlock the screen
2014-01-14 20:28:59 -05:00
discomfitor cb956069d5 feature: revive personal desklock passwords
these were previously disabled because hashing a password was too much work (I guess?), but now they're back. config dialog has changed accordingly
2014-01-14 20:28:59 -05:00
discomfitor bf7a2e8c47 add blocker rects for desklock
add a black rect to cover the screen during desklock
2014-01-14 20:28:59 -05:00
discomfitor a31e8a70fb break out desklock into display server-able hooks
if we're running in a non-X environment, we can't very well expect that using X calls to hide/show windows for desklock is going to work as expected. now a compositor backend can add a pre or post desklock hook to hide/show its clients as necessary
2014-01-14 20:28:59 -05:00
discomfitor 3948c1c910 fix fileman stealing focus
desktop fileman should only receive focus if there is no client currently visible on the active desktop
2014-01-14 20:28:59 -05:00
discomfitor a6a93c05b4 feature: function for getting top visible client on current desk
this is a pretty useful function overall, and I found that I was duplicating its functionality in a number of places, so I broke it out
2014-01-14 20:28:59 -05:00
discomfitor 3047ce85b8 not sure if keep... add retries for failure x clients
if a client's X attributes fail to be fetched on the first attempt, it's possible that we might succeed on a second attempt, which would prevent us from losing a client
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz ed4c98f9f5 feature: e_comp_shape_queue_block for blocking shape changes
in some cases, it may be desirable to block shape cutting for an amount of time to reduce cpu calculations. this should be set when performing any non-interactive compositor effects
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz b3ea9e9e9d feature: break out e_moveresize_client_extents for calculating client step sizes
if using an external moveresize implementation, this function is very handy
2014-01-14 20:28:59 -05:00
discomfitor b67d94210a feature: add layer_block client flag to bypass any layer/stacking checks and "just do it" for cool effects
this flag allows a client's layer to be changed instantly with no protocol-level checks or work, allowing compositor effects to do their work more easily
2014-01-14 20:28:59 -05:00
discomfitor 9150cf6812 feature: allow moveresize visuals to be replaced
the existing moveresize popup infrastructure is very limiting in that it requires you to create a popup. if you don't want to create a popup, now you don't have to.
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz b0c6366203 feature: allow desk flip animations to be handled completely externally
by exposing desk flip as a hookable api, it becomes easy to write custom flip effects such as in the external "desksanity" module
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz bac43480ff move deskmirror test over a little 2014-01-14 20:28:58 -05:00
Mike Blumenkrantz c667f7612f feature: E16-style live pager returns! window-only drags currently a little broken
p16 is a pager replacement module which uses deskmirror to show you live views of each desktop. it has a separate theme and reuses a lot of pager code.

not sure if original pager should be kept, but it's still around for now.

pager and pager16 both provide the same gadget and cannot be loaded simultaneously
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz b6e94d02ed don't recalc a gadcon on unpack if we're stopping, also don't recalc gadcons during stop when unpopulating
this caused a lot of slowdown, and even possible crashes, during restarts
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz a5e52cbc2d add E_Win_Cb typedef
this is mostly cosmetic, but I thought it might be a little more descriptive?
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz f637cbf08e deskmirror is now a fully-functional E api
* finish updating for E19 api

* fix visibility changing on sources

** use that shelf data item added in previous commit to detect shelf visibility

* fix sizing (but not scaling :() and positioning of sources

* also fix stacking
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz d307214c8d check for efreet desktop if EITHER icccm name/class is set
allows wayland clients, which only set class here, to find their desktop
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 6bc7662459 add e_exec instances for wl clients if they set surface class: works for terminology
creating phony e_exec instances based on name/class allows wayland clients to show up normally in ibar
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz dcdf4bb9f9 don't delete pointers when changing settings, just update size
this fixes a case where cursors would be permanently broken (along with the world) when changing cursor settings
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 5737103d67 wl pointers done-ish
pointers in E now come in two flavors, one for each protocol that we currently support. each is created from the owner compositor backend:

X pointers still work as usual

Wayland pointers are actually surfaces that we dump image data into periodically to render them as evas images

some small amounts of hack is necessary to make this work, namely blocking X pointers when a Wayland one is in use if we're running a multi-protocol compositor
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz fa32b5e708 add wl_fb output module
adds a probably-working wayland framebuffer output module

Additional authors:
Chris Michael <cp.michael@samsung.com>

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz a70e936be1 add E_WL_FORCE environment variable to force loading of an output module during init
variable takes the name of the output module s/wl_// ; example: E_WL_FORCE=x11

this module allows easy loading of a wayland output module to override any detection which may occur by force-loading the module during startup

in a later commit, an actual output detection mechanism needs to be added to run through all the possible output modes
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz c268302e67 add wl_x11 output module
this is the first of the wayland output modules, and it is extremely simple as a result of the compositor rewrite. for any other wayland output modules, it should be enough to simply create an ecore_evas canvas and do startup in this way.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 12d7405a0f huge wl fixup (wayland clients actually working again)
* try to clear up build system for separating out ecore-x

* add #ifdefs for lots of ecore-x stuff

* break out some internal e wl functions for reuse in api

* store wl surface buffers as an inlist

* add protocol-specific client compositor data

** move lots of X client attributes here

* add pixmap type checks to a number of X-specific things, such as grabinput, to block them for non-X clients

* rearrange startup order to work with wayland

* move X screensaver code to e_comp_x

* flag modules still requiring X with -DNEED_X
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz a9627e84f5 remove a bunch of unnecessary ecore-x calls from modules 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 4d07ec2c00 remove black_ecore_evas
this was used in illume, which is now dead.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 81bb88896e make backlight wayland-friendly 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 7c580030db make e_hints more wayland-friendly 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 0beaea217a remove awful LAYOUT client hook 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1be76d599c disable illume building, blacklist illume modules
illume 100% requires X, thus illume is dead. replacements are semi-underway.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1b22c40555 move e_util_icon_save to e_desktop_editor for better waylanding 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz c2be19c093 feature: comp config is no longer a module
given that compositing is always enabled and that it's crucial to be able to change these settings, potentially having them unavailable is not a great way to live
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 8be0ce31d7 ignore evry clipboard win 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz b7b24dc283 set name/class on comp selection win, ignore comp selection win 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz f88bfbdda1 set name/class on evry clipboard 2014-01-14 20:28:56 -05:00
Mike Blumenkrantz cd3cfd139a use input window for evry clipboard 2014-01-14 20:28:56 -05:00
Mike Blumenkrantz 98f1a9f036 feature: E_FIRST_FRAME env variable
requested by cedric for profiling, works just like similar elm variable
2014-01-14 20:28:56 -05:00
Mike Blumenkrantz 8b6d217e0c set shelf data on shelf comp object
probably good practice to set object data to comp objects? this makes it easier to use with deskmirror
2014-01-14 20:23:06 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 7f0c849a27 print E_IPC_SOCKET value during startup 2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 33ae9d51e6 feature: add E_MODULE_SRC_PATH for setting current module src path without needing to install modules
this is a useful feature when working on and debugging modules so that contamination of the running system can be avoided
2014-01-14 20:22:01 -05:00
Mike Blumenkrantz e3c85ec4da feature: use non-recursive makefiles for entire build system
this is the correct way to write a build system. one toplevel Makefile.am with the rest of the directories having include Makefile.mk files.

additional authors:

Iván Briano <ivan.briano@intel.com>
2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 4c9123c9b4 fix weird pulse crash when sink name is NULL (wtf?) 2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 52329d170e bad shape debugging! no enabling in git! 2014-01-10 13:26:37 -05:00
Mike Blumenkrantz d9291fffe1 send (un)focused signals to entry scrollframes
T745
2014-01-10 11:14:13 -05:00
Carsten Haitzler 72735615c7 resolve unhandled null shape pointer
in some cases cw->shape is checked, others not. chekc in all cases.
this should fix T742
2014-01-10 15:24:43 +09:00
Mike Blumenkrantz a0b07b9df7 fix ibar mouse in/out animations
previous operation resulted in repeated show/hide signals which looked bad.

going to have to investigate timer settings on this, current behavior, while a step in the right direction, seems unusable for me with the mismatch of no delay to show, LOOOOOOONG delay to hide
2014-01-05 23:51:47 -05:00
Mike Blumenkrantz 11c6db8e74 reword ibar mouseover config option for easier reading/translation 2014-01-05 23:51:32 -05:00
Carsten Haitzler 86f4dc82d5 ibar - add option to show icon menu on mousover 2014-01-06 13:19:56 +09:00
Chris Michael eb4c914c3e Initialize btn variable to zero
Fixes compiler warning 'btn' may be used uninitialized

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-04 11:24:55 +00:00
Mike Blumenkrantz 40e947db15 bugfix: store opacity in remembers like we do in the other remember edd 2014-01-01 15:39:35 -05:00
Mike Blumenkrantz 7824d31942 dear $EDITOR, thanks for removing that newline in the includes.
I didn't need it, and it didn't break anything.

no wait, fuck you.

sincerely,
zmike
2014-01-01 14:32:56 -05:00
Mike Blumenkrantz 8462090f3d bugfix: no more crashes when being a jerk with Navigate menu scrolling
this really only happens if you're TRYING to break things, but don't assume parent menu item is active item since it might not be
2014-01-01 14:25:27 -05:00
Mike Blumenkrantz e0df6b9095 bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
T484
2013-12-31 14:12:24 -05:00
Carsten Haitzler 63a49e4dca comp - make message for missing gl a bit more helpful 2013-12-31 19:05:41 +09:00
Carsten Haitzler 00050ffca8 livethumb - fix problem where e canvas list didnt del the livethumb ee 2013-12-30 17:00:29 +09:00
Carsten Haitzler ab268a42b0 evrything - fixes strict aliasing wanring and was a stupid cast anyway
this fixes strict aliasing wanrings (-Wstrict-aliasing) whihc are a
result of imported md5 code being just really stupid with casting an
array to a ptr when there is no need.
2013-12-29 15:08:39 +09:00
Mike Blumenkrantz 28b157c385 bugfix: startup splash now updates the version number more reliably
e_init_show() sets its own strings now so they get set on existing objects instead of failing silently
2013-12-26 22:29:29 -05:00
Mike Blumenkrantz e2f7641432 bugfix: use the right directory for user themes 2013-12-26 17:59:31 -05:00
Mike Blumenkrantz 2ea6870f10 bugfix: check shot filename for actual file extension, not just extension string
T684
2013-12-24 20:52:59 -05:00
Mike Blumenkrantz a00b8354b5 bugfix: infinite printing of SLEEP with release build
T690
2013-12-24 20:52:59 -05:00
Mike Blumenkrantz 2a01f4b3cb bugfix: delete mixer's pulse exe handler after it's started so desklock doesn't break 2013-12-23 14:02:06 -05:00
Mike Blumenkrantz be6351f15e fix mixer regression which broke non-pulseaudio support 2013-12-21 09:26:57 -05:00
Mike Blumenkrantz bd6bbdd5f4 only set mouse-in focus if target window is not already the focused window
T483 again
2013-12-20 15:50:16 -05:00
Mike Blumenkrantz d216853252 when rolling back an efm_op task, also remove children tasks
this simplifies/fixes the case where copying directories and canceling the operation would not correctly propagate the cancel to subtasks (contents of the directory)

T680
2013-12-19 14:56:34 -05:00
Mike Blumenkrantz c2c9c3ab72 propagate parent tasks when creating work tasks from scan tasks 2013-12-19 14:55:53 -05:00
Mike Blumenkrantz b93c035176 set efm_op parent tasks when creating new scan tasks for a directory 2013-12-19 14:55:23 -05:00
Mike Blumenkrantz f9c16ba1ce separately calling eina_init after ecore_init in e_fm_op? wtfffffffffffffffffffffffffffffffff 2013-12-19 14:18:02 -05:00
Mike Blumenkrantz f6ec2c6f60 set ecore_app_no_system_modules in various system utilities 2013-12-19 14:14:48 -05:00
Mike Blumenkrantz d4fe53e2ce check smart data on efm rename dialog delete 2013-12-19 13:56:38 -05:00
Mike Blumenkrantz 428d2adb00 errr...new desklock variable is meant to be !checked to see if the user has ever successfully unlocked 2013-12-19 11:00:28 -05:00
Mike Blumenkrantz cc9c130c24 clean up desklock showing on startup, add env var for checking unlocked state
desklock's layer is below the start splash layer, so this can just be shown any time regardless of whether it's enabled. security++

previously the fact that e was restarting could break out of desklocked startup due to how the env variables were set. now there is a new variable which only gets set when the screen is locked which will force lock on startup even during restarts

T681
2013-12-19 10:55:56 -05:00
Cedric BAIL 56d9c12676 gdb: test for bad kernel behavior. 2013-12-19 17:11:13 +09:00
Cedric BAIL 147f088efa gdb: detect that the file was generated properly.
This is a workaround kernel that prevent ptrace to another process.
2013-12-19 16:39:46 +09:00
Cedric BAIL fd271ba0c8 gdb: don't forget to turn on file logging to get anything useful. 2013-12-19 16:17:59 +09:00
José Roberto de Souza 3b00919101 systray: Remove xembed callbacks when xembed support is disable 2013-12-18 16:25:23 -05:00
José Roberto de Souza dc74938241 Refactor systray to have only one box
This is simpler and avoid some edje erros.

This patch depends on a patch on elementary to update systray edj.
2013-12-18 16:25:23 -05:00
Mike Blumenkrantz 292bcf6e81 only allow backlight to go to 0.1, not 0.0
on some backlight devices, 0.0 is completely off, which can render the system unusable.

T651
2013-12-17 11:22:56 -05:00
Mike Blumenkrantz 02e95afdf3 use regular ecore-exe for pulse start to not track launch 2013-12-16 08:16:36 -05:00
Mike Blumenkrantz c7a23ab5bd don't crash when pulse exec deletes itself during startup timer 2013-12-15 17:03:38 -05:00
Mike Blumenkrantz 64b8da15a4 don't crash when ibar mouse rolling
T666 (wtf)
2013-12-15 13:36:55 -05:00
Shawn Lee 7c2d0c7bdd fix - enlightenment could be fell in infinite loop in e_border_focus_set().
Reviewers: seoz, zmike

CC: cedric, raster

Differential Revision: https://phab.enlightenment.org/D382
2013-12-15 13:33:00 -05:00
Mike Blumenkrantz 39cf0a5a1b try connecting to pulse on a timer after it gets started in case it's a slow startup 2013-12-15 10:13:37 -05:00
Mike Blumenkrantz bccda8e7b3 try running start-pulseaudio-x11 from mixer 2013-12-15 08:56:52 -05:00
Boris Faure 3155115bc5 fix tiling configuration screen 2013-12-14 17:50:47 +01:00
Mike Blumenkrantz 7435381907 only clip shelf object to zone if shelf is not a popup
T629
2013-12-13 09:09:56 -05:00
Mike Blumenkrantz ec484b1317 force unmount/eject on udisks2 filesystem removal, also remove undocumented fixme from seb
T432, T398
2013-12-12 10:43:30 -05:00
Carsten Haitzler e2c20040e8 e17 wizard - update missing flags and alignment in ui, as well as refresh
this adds moldova (moldavian?) flag for layouts of keyboards and
refreshes some of the generic images for unknown, latin america, brail
and arabic "flag" images, and forces flag icons to be 2:1 aspect
ration with icon centered within that area to address T647
2013-12-11 16:53:49 +09:00
Mike Blumenkrantz 0c2d21558f fix a magnificent typo in my last commit 2013-12-10 15:37:57 -05:00
Mike Blumenkrantz a7d1a4588e only revert focus to a sticky window on desk flip if there's no other window to revert to
T625
2013-12-10 15:36:28 -05:00
Mike Blumenkrantz b0854dedd1 remove unused variable 2013-12-10 15:36:28 -05:00
Mike Blumenkrantz caa41d0c7c force hide of new shelves when not visible 2013-12-10 15:36:28 -05:00
Sebastian Dransfeld ae8a067e6d e: Check whether allocation succeeds
CID 1039865
2013-12-10 20:37:17 +01:00
Sebastian Dransfeld 06a85fca4d e: check for NULL value in parameter
CID 1040146
2013-12-10 20:35:45 +01:00
Sebastian Dransfeld e818c83322 e: ignore signals with no signal
A signal needs a name to be handled.

CID 1040147
2013-12-10 20:31:26 +01:00
Sebastian Dransfeld 43a4f21e06 e: double paranthesis as gcc suggests
Since we assign and check for true value in one operation, use double
paranthesis.
2013-12-10 20:30:15 +01:00