summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Houston <stephen@localhost.localdomain>2017-10-17 21:31:26 -0500
committerStephen Houston <stephen@localhost.localdomain>2017-10-17 21:31:26 -0500
commitdf152d4e4e06e7a6f4e6d8e7df4c9a7bccb74b2e (patch)
tree2ffd6687962fec1fc57d692b84f3ad44741973a0
parentbda1fd5e2a02325bc9acd1a6b035840d4f5fce80 (diff)
Make windows borderless
-rw-r--r--src/wireless.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wireless.c b/src/wireless.c
index c0825e4..eada1b4 100644
--- a/src/wireless.c
+++ b/src/wireless.c
@@ -883,6 +883,7 @@ _wireless_gadget_edit(int type)
883 _wireless_gadget_edit_array_entry(wc->proxy_excludes, &wireless_popup.proxy_excludes); 883 _wireless_gadget_edit_array_entry(wc->proxy_excludes, &wireless_popup.proxy_excludes);
884 884
885 wireless_popup.popup = popup = elm_win_add(inst->win, "win", ELM_WIN_BASIC); 885 wireless_popup.popup = popup = elm_win_add(inst->win, "win", ELM_WIN_BASIC);
886 elm_win_borderless_set(popup, 1);
886 elm_win_alpha_set(popup, 1); 887 elm_win_alpha_set(popup, 1);
887 888
888 box = elm_box_add(popup); 889 box = elm_box_add(popup);
@@ -1295,6 +1296,7 @@ main(int argc, char *argv[])
1295 evas_object_smart_callback_add(inst->win, "gadget_site_orient", _orient_change, NULL); 1296 evas_object_smart_callback_add(inst->win, "gadget_site_orient", _orient_change, NULL);
1296 elm_win_autodel_set(inst->win, 1); 1297 elm_win_autodel_set(inst->win, 1);
1297 elm_win_alpha_set(inst->win, 1); 1298 elm_win_alpha_set(inst->win, 1);
1299 elm_win_borderless_set(inst->win, 1);
1298 1300
1299 inst->box = elm_box_add(inst->win); 1301 inst->box = elm_box_add(inst->win);
1300 elm_box_horizontal_set(inst->box, inst->orient != E_GADGET_SITE_ORIENT_VERTICAL); 1302 elm_box_horizontal_set(inst->box, inst->orient != E_GADGET_SITE_ORIENT_VERTICAL);
@@ -1533,6 +1535,7 @@ wireless_authenticate(const Eina_Array *fields, Wireless_Auth_Cb cb, void *data)
1533 1535
1534 popup = elm_win_add(inst->win, "win", ELM_WIN_BASIC); 1536 popup = elm_win_add(inst->win, "win", ELM_WIN_BASIC);
1535 elm_win_alpha_set(popup, 1); 1537 elm_win_alpha_set(popup, 1);
1538 elm_win_borderless_set(popup, 1);
1536 evas_object_event_callback_add(popup, EVAS_CALLBACK_KEY_DOWN, _wireless_auth_key, NULL); 1539 evas_object_event_callback_add(popup, EVAS_CALLBACK_KEY_DOWN, _wireless_auth_key, NULL);
1537 evas_object_event_callback_add(popup, EVAS_CALLBACK_DEL, _wireless_auth_del, NULL); 1540 evas_object_event_callback_add(popup, EVAS_CALLBACK_DEL, _wireless_auth_del, NULL);
1538 p->popup = popup; 1541 p->popup = popup;