Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4646
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
diff --git a/i3-nagbar/atoms.xmacro b/i3-nagbar/atoms.xmacro index 333ba2d..8efe3eb 100644 --- a/i3-nagbar/atoms.xmacro +++ b/i3-nagbar/atoms.xmacro @@ -1,5 +1,6 @@ xmacro(_NET_WM_WINDOW_TYPE) xmacro(_NET_WM_WINDOW_TYPE_DOCK) +xmacro(_NET_WM_WINDOW_TYPE_TOOLTIP) xmacro(_NET_WM_STRUT_PARTIAL) xmacro(I3_SOCKET_PATH) xmacro(ATOM) diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index 674fcb7..6c70fa2 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -504,7 +504,8 @@ int main(int argc, char *argv[]) { XCB_COPY_FROM_PARENT, win, /* the window id */ root, /* parent == root */ - win_pos.x, win_pos.y, win_pos.width, win_pos.height, /* dimensions */ + // win_pos.x, win_pos.y, win_pos.width, win_pos.height, /* dimensions */ + 500, 400, 300, 200, /* dimensions */ 0, /* x11 border = 0, we draw our own */ XCB_WINDOW_CLASS_INPUT_OUTPUT, XCB_WINDOW_CLASS_COPY_FROM_PARENT, /* copy visual from parent */ @@ -517,6 +518,11 @@ int main(int argc, char *argv[]) { XCB_EVENT_MASK_BUTTON_RELEASE, cursor}); + /* Set override-redirect flag */ + uint32_t attr_mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_SAVE_UNDER; + uint32_t attr_values[] = { true, true }; + xcb_change_window_attributes(conn, win, attr_mask, attr_values); + /* Map the window (make it visible) */ xcb_map_window(conn, win);