Commit Graph

16441 Commits

Author SHA1 Message Date
Mike Blumenkrantz 256378577c Revert "ref/free client pixmaps during hide animations"
This reverts commit bbb04ecb32.

also fixed by deferred resource releasing
2015-02-02 17:40:11 -05:00
Mike Blumenkrantz bc59464f99 make wl clients use post render canvas cb to clear buffers 2015-02-02 16:45:18 -05:00
Mike Blumenkrantz 66e4c59764 hide wl clients on surface delete
surface callbacks may not trigger xdg/shell unmap callbacks before this is called, so this ensures a hide animation
2015-02-02 13:39:32 -05:00
Mike Blumenkrantz bbb04ecb32 ref/free client pixmaps during hide animations
replaces wl client crashing with a garbage frame
2015-02-02 13:38:48 -05:00
Mike Blumenkrantz 1f608490c8 make comp param in e_client_new unused 2015-02-02 12:42:43 -05:00
Mike Blumenkrantz 8d5ab29625 don't create wl clients as re_manage 2015-02-02 12:41:39 -05:00
Chris Michael b02439c14d Revert "reset keyboard modifiers when client is deleted"
This reverts commit b9f4b257d7.

Revert this quick fix as apparently it did not actually fix the problem.
2015-02-02 12:31:09 -05:00
Chris Michael b9f4b257d7 reset keyboard modifiers when client is deleted
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-02 12:27:40 -05:00
Mike Blumenkrantz 44229f20bd clean up comp object to not use deprecated comp functions 2015-02-02 12:12:12 -05:00
Chris Michael 1e77df57a8 cleanup keymap properly on shutdown(fixes E restart issue).
nb: this also adds checking for setting of fd flags when we get the
keymap fd.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-02 12:01:53 -05:00
Carsten Haitzler 1c222e0329 e randr config - fid selecting of screen to populate correctly 2015-02-02 14:13:58 +09:00
Mike Blumenkrantz d9fec13343 don't hide client before delete in win del trap 2015-02-01 19:05:21 -05:00
Mike Blumenkrantz ae7976bdc8 delete all clients in wl delete request cb
this was doing weird stuff for some reason when it should just be deleting all clients
2015-02-01 19:05:21 -05:00
Mike Blumenkrantz 566591581b don't crash in stupid e_module dialog hack 2015-01-30 15:49:15 -05:00
Mike Blumenkrantz 4aa4c64508 ensure no duplicate XDG paths are prepended during startup
the previous patch(es) had a number of issues which made them unsuitable for general use:

* only checking "/usr" and "/usr/local" paths, despite this only being accurate if e was installed into /usr or /usr/local

* only checking if the paths were at the beginning of the string, when it's possible that they could be anywhere

* failure to also check XDG_CONFIG_DIRS

* improper formatting: this is a bit of a nitpick, but there are no correct instances of 'strcmp(a, b) == 0' in the e codebase.
2015-01-29 16:01:25 -05:00
Mike Blumenkrantz fbde0824d1 Revert "Do not add /usr/share twice for XDG_DATA_DIRS"
This reverts commit e3eda1d690.

hardcoding directory paths is not a solution that I want to see used for this issue.
2015-01-29 12:43:20 -05:00
Mike Blumenkrantz 9f36dc1b43 Revert "Include /usr/local too in the no-duplication of XDG_DATA_DIRS"
This reverts commit ae3410a0ba.
2015-01-29 12:43:14 -05:00
Chris Michael 323f41122e pass the proper window to ecore_wl functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:15:36 -05:00
Chris Michael 6f2f7c0e94 fix copy/paste errors
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:12:08 -05:00
Chris Michael a889f55c34 start making e_grabinput work for wayland (nb: not finished yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:54:43 -05:00
Chris Michael b42e70c73a fix e_pointer using incorrect comp variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:28:28 -05:00
Thanatermesis ae3410a0ba Include /usr/local too in the no-duplication of XDG_DATA_DIRS
@fix and improves the previous fix

(cherry picked from commit e0dcab584b)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:14 -04:00
Thanatermesis e3eda1d690 Do not add /usr/share twice for XDG_DATA_DIRS
This commit @fix a duplicated entry in XDG_DATA_DIRS which is also
added prematurely, if eina_prefix_get is already /usr (most of the
times) we dont want to add it here

(cherry picked from commit f42f5f1cfe)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:04 -04:00
Mike Blumenkrantz 1680de7ff2 use new pixmap id for internal wl wins 2015-01-28 17:34:05 -05:00
Mike Blumenkrantz 7a0ea605e6 move wl pixmap creation back to comp
after further consideration, this seems much simpler
2015-01-28 17:31:40 -05:00
Mike Blumenkrantz 2a51535fc0 Revert "move wl pixmap creation into shell, fix pixmap id usage"
This reverts commit c1a93d893e.
2015-01-28 17:29:17 -05:00
Mike Blumenkrantz c1a93d893e move wl pixmap creation into shell, fix pixmap id usage
using raw surface id here guarantees overlap between surfaces for different apps. instead, shift and add app pid to ensure uniqueness

 #barrel
2015-01-28 17:04:59 -05:00
Mike Blumenkrantz 36e4eff943 clarify wl shell errors when failing to create clients 2015-01-28 17:01:16 -05:00
Chris Michael 4b992e38fd de-e_comp_get()-ify e_randr2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:45 -05:00
Chris Michael dea5981c2f de-e_comp_get()-ify e_zone
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:19 -05:00
Chris Michael 2cdd022b1b de-e_comp_get()-ify widget_bgpreview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:34:39 -05:00
Chris Michael efd406edab make e_scale get the dpi for wayland also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:53:12 -05:00
Chris Michael 9e2d4c85c3 de-e_comp_get()-ify e_scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:52:13 -05:00
Chris Michael cdebd483ef de-e_comp_get()-ify e_pointer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:51:35 -05:00
Chris Michael 4773f4cd12 de-e_comp_get()-ify e_gadcon_popup
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:49:28 -05:00
Chris Michael 0c4f3ff48e de-e_comp_get()-ify gadcon
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:48:50 -05:00
Chris Michael 5ec2c7f7a6 de-e_comp_get()-ify grab dialog
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:48:15 -05:00
Chris Michael c024e4bc17 add EINA_UNUSED for unused function paramater
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:54:55 -05:00
Chris Michael bf8fde1948 make desklock timeouts work in wayland-only. Fixes T1818
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:52:03 -05:00
Chris Michael e647105421 add function to return input idle time in wayland compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:50:58 -05:00
Chris Michael c6a5f9448c add function prototype for getting idle time
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:48:47 -05:00
Chris Michael 4753c56d42 de-e_comp_get()-ify lokker module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:32:32 -05:00
Chris Michael 3d9e6cd934 remove unused inline function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 09:28:14 -05:00
Chris Michael 56da400c39 make enlightenment build again for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 08:54:38 -05:00
Carsten Haitzler 33d4531f1d e - rewrite randr code entirely. core and dialog. dialog is basic atm
the dialog for now is simple and lets you just raw edit the properties
per screen in a dialog. nothing fancy. not user firendly. but it works.

the randr core has been totally rewritten and tested against a range
of drivers and setups before even getting a commit. it works solidly
and configures screens reliably now. drivers tested:

nvidia
intel
radeon

some drivers still are unreliable in terms of delivering plug/unplug
events for outputs (both intel and radeon are flakey - nvidia is solid
and reliable). so to fix this there is now a screen redo action you
can bind to a hotkey or something and have e re-evaluate current
screen setup and apply ny pending config if needed.

also to make reconfiguring prettier the screen is faded to black
first, then configured, then faded back in. some drivers work
flawlessly with this, others still flicker some garbage.

i admit - i haven't tested nouveau, but my general take on this is the
randr code is now in far better shape than where it was (minus pretty
and easy dialog). the dialog can be done next, but i'd like to get the
core in now for more testing.

@fix
2015-01-25 22:50:23 +09:00
Carsten Haitzler ab975cc349 e - fix e widgets to use evas size hints - this unifies sizing elm vs e 2015-01-25 22:50:23 +09:00
Davide Andreoli 619afde7e5 Update gtk bookmarks to work with new gtk3 path
...I hope they will not change this stupid path for each minor release
2015-01-24 14:47:17 +01:00
Davide Andreoli 61816a5ba2 Fix gadman config to be actually usable.
The button was not expanded correctly in the box,
not really the definitive fix, something is wrong in
e_widget_framelist_object_append_full()
2015-01-24 14:30:40 +01:00
Mike Blumenkrantz b0a9d64000 allow client pixmap size to be used in place of actual client geom for tiler creation 2015-01-23 17:20:52 -05:00
Mike Blumenkrantz a5c00bfb2b defer client frame resizes if client is not protocol-visible 2015-01-23 17:20:14 -05:00
Mike Blumenkrantz a8bd9df733 Revert "simplify/fix wl client borderless setting"
This reverts commit 1b3d89c4c0.

I suck too much to fix this right now, maybe later
2015-01-23 16:30:28 -05:00
Mike Blumenkrantz d94a76db15 preserve internal window borderless state when set prior to showing window 2015-01-23 16:22:14 -05:00
Mike Blumenkrantz 1b3d89c4c0 simplify/fix wl client borderless setting 2015-01-23 16:22:02 -05:00
Chris Michael fba5de7d6a Revert "only set wl client borderless state as necessary, don't overwrite existing states"
This reverts commit 5c80ce8e0e.

Revert this as it causes ALL internal windows to not have any borders
anymore.
2015-01-23 14:57:04 -05:00
Chris Michael 432b76390b de-e_comp_get()ify e_moveresize
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:35:37 -05:00
Chris Michael 93ad6ba544 de-e_comp_get()ify e_int_client_menu
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:33:20 -05:00
Chris Michael a71e0e3553 de-e_comp_get()ify e_deskmirror
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Chris Michael 4814695439 de-e_comp_get()ify e_desk
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Chris Michael 4c42448ffa de-e_comp_get()ify e_actions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-23 14:32:41 -05:00
Mike Blumenkrantz 5c80ce8e0e only set wl client borderless state as necessary, don't overwrite existing states 2015-01-23 14:31:35 -05:00
Mike Blumenkrantz 363a78a260 continue to hide window input regions on desk flip if they are shaded 2015-01-23 14:26:28 -05:00
Mike Blumenkrantz 03c5915245 force server borders on internal wl wins again
this goes back to previous behavior before elm win conversion
2015-01-23 14:10:58 -05:00
Mike Blumenkrantz 665a399b14 de-e_comp_get()ify e_win 2015-01-23 14:10:58 -05:00
Stefan Schmidt baad02c03a e_screensaver: de-e_comp_get()ify 2015-01-23 13:49:54 +01:00
Stefan Schmidt 38b8ba509b e_notification: de-e_comp_get()ify 2015-01-23 13:49:09 +01:00
Stefan Schmidt 56de1002ec e_mouse: de-e_comp_get()ify 2015-01-23 13:44:43 +01:00
Stefan Schmidt c66b402322 e_module: de-e_comp_get()ify 2015-01-23 13:43:40 +01:00
Stefan Schmidt eccf163aa8 e_main: de-e_comp_get()ify 2015-01-23 13:43:07 +01:00
Stefan Schmidt fe024b561b e_dpms: de-e_comp_get()ify 2015-01-23 13:42:01 +01:00
Stefan Schmidt c100027f20 e_configure: de-e_comp_get()ify 2015-01-23 13:40:45 +01:00
Stefan Schmidt 8c60f2e02c e_bindings: de-e_comp_get()ify 2015-01-23 13:38:28 +01:00
Stefan Schmidt f64b07bb8e e_backlight: de-e_comp_get()ify 2015-01-23 13:37:59 +01:00
Stefan Schmidt 1997034465 e_sys: Make sure we return false if systemd does not support various suspend modes
Since this was introduced this callback always returned 1 no matter if systemd
said it does support the mode or not.

CID: 1261291
2015-01-23 13:22:59 +01:00
Mike Blumenkrantz 1b321567bf simplify wl xdg/shell configure functions
setting changes.XYZ is generally bad and shouldn't be done. in this case, it was obscuring an infinite render resize loop

 #barrel
2015-01-22 23:45:11 -05:00
Mike Blumenkrantz 01b0f4a85d set wl client geometry before showing in desktop shell
bad things (tm) can happen if geometry doesn't get updated before the show

 #barrel
2015-01-22 23:45:08 -05:00
Mike Blumenkrantz 30f17c5680 remove no longer necessary setting of changes.size on client resize
this is unnecessary since we resize on every necessary frame anyway
2015-01-22 23:03:38 -05:00
Mike Blumenkrantz 847ce5b0d5 never uncenter a centered internal window
a window which has received a call to elm_win_center() can now never auto-uncenter in either axis

ref T2031
2015-01-22 22:39:46 -05:00
Mike Blumenkrantz b89868cc65 fix comp cfdlg sizing and centering 2015-01-22 22:39:27 -05:00
Mike Blumenkrantz 3e5b2ba96a move more grabinput code to not fail in wl
#barrel
2015-01-22 15:45:16 -05:00
Mike Blumenkrantz 5e5a533a6d move grabinput focus fix timer to be X-only 2015-01-22 15:30:25 -05:00
Mike Blumenkrantz 5735f7a2e7 de-e_comp_get()ify evry 2015-01-22 15:05:58 -05:00
Mike Blumenkrantz ec04105a98 typo from last evry commit 2015-01-22 15:02:32 -05:00
Mike Blumenkrantz 7e0152e384 fix evry build on wayland-only 2015-01-22 14:59:25 -05:00
Mike Blumenkrantz ba684aacd3 de-e_comp_get()ify e_dnd 2015-01-22 14:59:25 -05:00
Chris Michael e8c7b82dab Ignore checking size of client and just always send new size. This
fixed basic-->advanced dialogs here

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-22 14:31:03 -05:00
Chris Michael e266bfaa35 wl_x11: When creating the ecore_evas for wl_x11, use
ecore_evas_screen_geometry_get function and resize the ecore_evas
accordingly.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-22 10:06:26 -05:00
kabeer khan 7bfef8a6f5 Release list of touch resources when input is shutdown
Summary:
Resolved TODO to release list of touch resources in e_comp_wl_input_shutdown

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1884
2015-01-22 09:15:07 -05:00
Mike Blumenkrantz 0d82fcf71c remove e_comp_get() use in grabinput 2015-01-20 19:20:07 -05:00
Mike Blumenkrantz f8d846e0c9 set client frame geometry for new internal wins based on ee geometry 2015-01-20 19:20:07 -05:00
Mike Blumenkrantz f691a8fa18 fix elm box parenting 2015-01-20 19:20:04 -05:00
Mike Blumenkrantz 017c2f4d45 reenable elm log domain 2015-01-20 19:19:57 -05:00
Chris Michael 3520cd5803 add fixme note about desklock timeouts not working in wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-16 14:44:23 -05:00
Carsten Haitzler fe892a3ce0 comp base - make base black. makes for better screenshots of blank areas 2015-01-16 17:50:34 +09:00
Mike Blumenkrantz 39d59f5295 don't set deskmirror scale for non-mb objects 2015-01-15 17:17:39 -05:00
Mike Blumenkrantz aa2c7709ec fix edje usage in e_dialog 2015-01-15 17:08:50 -05:00
Mike Blumenkrantz 3cad1466d2 convert e_dialog text object to elm_layout 2015-01-15 17:08:41 -05:00
Mike Blumenkrantz 45900d1b43 give csel entries 3 columns to force visibility 2015-01-15 16:48:19 -05:00
Mike Blumenkrantz bd536e6e99 use changed,user entry scb for widget change to prevent infinite looping
fix T2004
2015-01-15 16:48:19 -05:00
Mike Blumenkrantz 0d2b7197e0 fix edje usage in frametable 2015-01-15 16:48:19 -05:00
Chris Michael 63dc694f56 wl_drm: Fix creation of the ecore_evas_gl_drm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-15 13:29:43 -05:00
kabeer khan d1e90c3af7 wl_drm: create ecore_evas for drm gl backend
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1871
2015-01-15 13:27:52 -05:00
Mike Blumenkrantz 1024480bad improve gadcon popup sizing/positioning 2015-01-15 12:06:08 -05:00
Mike Blumenkrantz 206577876d use elm functions on new clock elm objects 2015-01-15 12:04:38 -05:00
Carsten Haitzler 63f879fc08 clock - fix popup content.. use elm widgets now. 2015-01-15 21:09:28 +09:00
Carsten Haitzler ee40261cf7 e - gadcon popup - handle delection of content object properly
this fixes a popup crash nicely
2015-01-15 21:09:01 +09:00
Carsten Haitzler 2d9cc918ff shot module - dont allow another instance and keep the current one
this avoids a segv
2015-01-15 19:44:52 +09:00
Mike Blumenkrantz 74bc0435b6 remove unnecessary filepreview size hinting 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz 3fe721b521 enforce min width for filepreview attr entries 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz aee82c9123 e_dialog -> elm_layout for bg_object
sizing++
2015-01-15 03:05:20 -05:00
Mike Blumenkrantz 2543821886 convert shot dialog to elm_layout 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz a744ed8f36 randr widget needs to set min size hint on calc 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz f6fa99eb5f only set internal win name/class if not already set 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz f43819c49b remove widget subobj delete callback on widget delete 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz b98c1a44f2 don't update widget size hints on resize add if hints already exist 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz c2b63707cf Revert "e dialogs - this one too"
This reverts commit 0ed9f93703.
2015-01-15 03:04:49 -05:00
Mike Blumenkrantz 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 0ed9f93703 e dialogs - this one too
Revert "convert e_conf to use elm_layout for min sizing updates"
This reverts commit a3083196f0.
2015-01-15 12:14:25 +09:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz a3083196f0 convert e_conf to use elm_layout for min sizing updates 2015-01-14 22:00:33 -05:00
Mike Blumenkrantz c8d58b30f3 de-e_comp_get()ify e_menu 2015-01-14 20:48:29 -05:00
Mike Blumenkrantz b1c976d80d e_widget_button -> elm_button conversion
focus highlighting on buttons is gone because this doesn't exist in the elm button theme

so much excitement. http://media.giphy.com/media/xxLCDIDA0iKU8/giphy.gif

 #teamborker
2015-01-14 20:43:32 -05:00
Mike Blumenkrantz ffd51904e2 ignore size hint changes for fileman popups if popup icon has been moused out 2015-01-14 20:43:32 -05:00
Mike Blumenkrantz fdab0218b2 update widget size hints when setting a resize object 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 21479f5019 remove no-longer-necessary size hinting in list widgets 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 8fe2f00f75 e_widget_textblock -> elm_entry conversion
small and infrequently used widgets are the best kind of widgets

 #teamborker
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz e9da6a02fc e frame -> elm_frame conversion
wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

 #teamborker
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 5178197f60 make comp cfd unresizable
the size of the tabs is smaller than the size of the content, which makes this look stupid when it covers the screen
2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 720b19331f don't override entry min sizing in filepreview 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz b596623efd remove unnecessary size hinting 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz 049b318679 e_label -> elm_label conversion
text is text is text is text text is text is text is text

 #teamborker
2015-01-14 20:43:31 -05:00
Chris Michael a9834fe0e6 add workaround for ELM_DIALOG_WIN_BASIC not working in wayland.
add #warning to remove when resolved.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 16:33:19 -05:00
Chris Michael 60f7b57c04 don't crash if the client comp_data has no surface yet
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 16:11:53 -05:00
Chris Michael c179f70f6a update entry widget to not use deprecated elm scrollbar policy function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-14 15:07:51 -05:00
Mike Blumenkrantz 189763cde3 force internal window recentering after resize when no move/resize is active 2015-01-14 14:47:54 -05:00
Mike Blumenkrantz b19e706b23 remove unused vars 2015-01-13 22:46:14 -05:00
Mike Blumenkrantz 3afc36bbe4 de-e_comp_get()ify e_fwin 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz e1dbb122c7 autoupdate widget min sizes 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz e30dd076e9 redo fileman tooltips to size correctly
exhibits edje min size calc bug/workaround
2015-01-13 22:44:55 -05:00
Mike Blumenkrantz fc01bac0bf Revert "fix centering of elm wayland windows"
This reverts commit 1ec2a4e91c.

this may have fixed wayland window centering, but only because it effectively turns the function into a no-op instead of actually centering the window
2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 2f09aa2fda set evas size hint min in widget min size 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05:00
Carsten Haitzler 50621ba9b4 e - force a config flush before sys actions that could kill e
@fix

this should fix T1988. after some looking here is what i think is
happening. he is asking the system (sysvinit or systemd) to
halt/reboot, but these end up killing the e process before it can save
its config that is lurking around still in ram as opposed to on disk,
so puttting in a config flush before beginning such a system action
will ensure everything is on disk.
2015-01-14 11:48:05 +09:00
Chris Michael 1ec2a4e91c fix centering of elm wayland windows
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 13:36:58 -05:00
Chris Michael 7c5c8b1561 comp-wl: Set argb and no_shape_cut for new clients. This fixes the
black shadow issue

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 13:03:52 -05:00
Chris Michael d11c42fd23 Fix Coverity CID1261286. Identical code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:12:52 -05:00
Chris Michael 13ed310a4d Fix Coverity CID1261288. Idential code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:11:26 -05:00
Chris Michael 43a0d2a3ae pager_plain: Fix Coverity CID1261290 reporting logically dead code,
but in fact it looks like a copy/paste issue

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:09:43 -05:00
Tom Hacohen 61c4a72ae2 E comp: Adjust according to elm function rename. 2015-01-12 10:18:11 +00:00
Mike Blumenkrantz 76605f0a26 de-e_comp_get()-ify e_shelf 2015-01-11 15:57:07 -05:00
Mike Blumenkrantz 90b189d3db fix build from tarball when configured mount backend is different from origin
previously the generated e_fm_shared_types.h file was wrongly distributed with the rest of the source tree when it should not have been
2015-01-11 12:56:47 -05:00
Mike Blumenkrantz c978a045e6 e_entry -> elm_entry conversion
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.

 #teamborker

fix T1906
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 207a125904 simplify comp usage in e_fm 2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 06895e4036 use elm_win_fake() to create a fake elm_win for widget parenting/focus
ugh
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 7e3558383d set comp X window hint to normal
ee is broken in that it will never update the withdrawn property for a canvas unless you 1) explicitly set this 2) have an override window
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 915d3089ea unwrap INLINE_IMAGE window creation 2015-01-10 00:58:49 -05:00
Mike Blumenkrantz a2560d9a09 +e_win_evas_win_get() 2015-01-10 00:58:37 -05:00
Chris Michael 72f1b10ea1 comp-wl: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:44:46 -05:00
Chris Michael b61debdcad comp-wl: Add missing function prototype
Since we call this function before it's actually defined in the
source, we'll just add a small function prototype at the top

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:43:40 -05:00
Chris Michael cf675ad688 wl-desktop-shell: Fix issue where internal elm windows were not
borderless

This fixes the issue of elementary windows having 2 borders, however
it does expose a new issue where those same internal elm windows now
have a black shadow border around them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 12:48:04 -05:00
Chris Michael 3d5171563f comp_wl: Fix issue with multiple clients being created
This fixes an issue where internal elementary dialogs would end up
creating 2 pixmaps and 2 clients for each window. This happened due to
the pixmap id not matching the elm window id.

This patch also handles reparenting internal elm windows if needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 12:48:04 -05:00
Duna Oh 576ec9bdc4 fix crash when activating menu that is not in range
Summary: add the condition check code if the pressed key is not in range of menu items

Test Plan:
(1) Left-click on the desktop to bring up the menu.
(2) Press down the number key to activate the menu item.
(3) When you press down the number key that is not in range, you will see the segmentation error.

below is the crash log which I encoutered.
-------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
_e_menu_item_activate_nth (n=n@entry=5) at src/bin/e_menu.c:2318
2318       _e_menu_item_ensure_onscreen(mi);

Reviewers: zmike, gwanglim, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1845
2015-01-09 14:51:40 +09:00
Carsten Haitzler 5d74b399e0 e zone - add stow/unstow apis 2015-01-09 11:50:51 +09:00
Mike Blumenkrantz 66f28829a1 don't change shade.x/y during unshade or after shade
fix T1930
2015-01-08 18:23:05 -05:00
Mike Blumenkrantz 781bfd7537 check focus after X nocomp end
fix T1768
2015-01-08 18:23:05 -05:00
Chris Michael a8b4717fdf fix issue where wayland modules were always creating a new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 13:04:04 -05:00
Chris Michael f2e7bd7204 wl-desktop-shell: Remove use of deprecated e_comp_get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 09:30:30 -05:00
Chris Michael a0e92e2868 remove use of deprecated e_comp_get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 09:28:58 -05:00
Mike Blumenkrantz ba5c079152 add E_VERSION_MAJOR define for external module usage
this should simplify writing modules with conditional code for different versions of e
2015-01-05 15:49:57 -05:00
Mike Blumenkrantz 7732bcef3b unused param-- 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 0bac875290 remove some e_comp_get() usage in core comp/client files 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz f4d376be2f disable client stack debugging
this should have been turned off for e19 release but I forgot
2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz 2d580a2f87 enforce no multihead in X compositor
this hasn't worked since E17, may was well stop trying
2015-01-05 15:36:11 -05:00
Seunghun Lee c61efa7c55 wl_drm: Add event handler for session activation signal.
Summary:
Compositor need to change the compositing mode to offscreen or render state depend on session activation state.
this patch is for it.

Test Plan:
(1) Run enlightenment on X.
(2) Change another VT.
(3) Run enlightenment on wayland and drm.
(4) Change the VT to enlightenment which is ran (1).
enlightenment on wayland will not render during session deactivation state.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1816
2015-01-05 09:09:59 -05:00
Tom Hacohen 0bc3399274 Tiling: don't try to change the border of borderless windows.
@fix
2015-01-04 13:45:16 +00:00
Mike Blumenkrantz 701e2d914a add support for new netwm csd X atoms
nothing uses these yet so there's no way to test them.

fix T1963
2015-01-03 00:42:42 -05:00
Mike Blumenkrantz 9ff9de799a completely block border changes on MWM borderless windows
ref T1963

seriously.
2015-01-03 00:07:48 -05:00
Mike Blumenkrantz 5bf04eed8f don't set gravity on client windows during X move/resize
fix T1940
2015-01-02 23:56:11 -05:00
Yomi b34ca20578 update copyright year
Summary: update copyright year

Reviewers: zmike, bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1836
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 493690412a add compile warning note for elm hack 2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 1caf4250da set elm log level to CRI
current elm usage triggers infinite (harmless) widget-parenting errors. to avoid filling hard disks with log files, shut this up for now
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 4e947b00bc don't recalc winlist on client add event if client is not added to winlist 2015-01-01 17:46:13 -05:00
Mike Blumenkrantz a11e8d5f2e e_box -> elm_box conversion
the next installment in the exciting adventure game Elementary Wars!

happy new year from #teamborker
2015-01-01 17:45:34 -05:00
Mike Blumenkrantz 41f4f28114 comp pending resizes should not require both w+h to change 2014-12-30 17:00:23 -05:00
Mike Blumenkrantz ac7a786b59 don't show mixer popup during nocomp
fix T1270
2014-12-30 17:00:23 -05:00
Mike Blumenkrantz 521a7f071e use frame geometry in win resize trap to get accurate sizes
ref T1905
2014-12-30 17:00:23 -05:00
Mike Blumenkrantz 5f1a0b4dcd add back notification merging
this was removed without warning or explanation in r82118:

    e: Change notification module to use internal notification API
    Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

currently broken by T1954 for lines longer than 36 characters
2014-12-28 17:34:28 -05:00
Marcel Hollerbach 0083aa552a config: Fix segfault
We can pass here NULL, win does not have a specific saved e_comp.
So we pass NULL to e_comp_get and get the current active one.

This fixes T1937.
2014-12-28 11:15:26 +01:00
Carsten Haitzler 6510e8bd0e Revert "all dialogs are now resizable"
This reverts commit 9157ca8ca7.

this also makes all dialogs that have content in a toolbar that goes
off window at min size resizable - this is actually what you wanted ..
bgut this previous "all dialogs are resizable" thing was uber-lazy.

Conflicts:
	src/modules/bluez4/e_mod_main.c
	src/modules/conf_bindings/e_int_config_signalbindings.c
	src/modules/conf_theme/e_int_config_theme.c
	src/modules/mixer/conf_gadget.c
	src/modules/shot/e_mod_main.c
2014-12-22 23:02:05 +09:00
Chris Michael b63b2d548e call e_powersave_init Before we call e_screensaver_init because the
init of e_screensaver sets up an event handler for the
powersave_update event (which would be 0 unless powersave is init
first).

Thanks to dt9 for the report ! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:14:36 -05:00
Jee-Yong Um 7a1c6c0725 e_actions: Fix to parse syntax correctly in key binding settings
Summary:
Correct the way to parse syntax in key bindings for launching application according to syntax guide
and pop an error dialog when a space is detected while activating the action.

Example:
Guide is given like "exe:xterm" with "No whitespace" between param's name and contents.
However, existing way to parse syntax should require "ONE whitespace" between name and contents.
This modification will parse syntax correctly.

@fix

Reviewers: seoz, zmike, Hermet

Subscribers: raster, cippp, cedric

Differential Revision: https://phab.enlightenment.org/D1699
2014-12-18 16:08:34 +09:00
Carsten Haitzler 837fb90c4e e - randr include - move to master includes (only if building for x) 2014-12-18 14:19:07 +09:00
Sebastian Dransfeld 27c1f17984 randr: improve code readability in lid update
Be sure we have active non-lids before deactivating lids.
2014-12-17 11:39:19 +01:00
Sebastian Dransfeld 0ec2bdfd52 randr: fix bad copy paste error 2014-12-17 11:35:23 +01:00
Sebastian Dransfeld 3527942b23 systray: revert change which shouldn't go in 2014-12-17 11:20:22 +01:00
Sebastian Dransfeld d69848f63c randr: add error print 2014-12-17 11:19:25 +01:00
Sebastian Dransfeld e7e51c9c12 Revert "randr: always call _e_randr_output_active_set"
This reverts commit 7f14d81e6a.

Broke LID open/close for me, note to self, more testing before commit.
2014-12-17 11:18:13 +01:00
Sebastian Dransfeld f92f1ff4cc randr: TODO++ and error print 2014-12-17 10:35:54 +01:00
Sebastian Dransfeld 9b4bace831 randr: don't try to enable crtc with no outputs 2014-12-17 10:35:12 +01:00
Sebastian Dransfeld 7f14d81e6a randr: always call _e_randr_output_active_set
_e_randr_output_active_set should handle if we set active on an active
output
2014-12-17 10:29:27 +01:00